2

I have the HTML below that I need to display in a UITextView (with a font of my choosing, say AvenirNext). I also need to allow users to format the text and send it as HTML to the backend. How would I accomplish this, keeping the format consistent?

<p><strong>This is some text in bold</strong></p>

<p><em>Some text in italic</em></p>

<p><u>Some text underlined</u></p>

<ul>
    <li>Bullett list item one</li>
    <li>Item 2</li>
</ul>

<ol>
    <li>Numbered list 1</li>
    <li>Item 2</li>
</ol>

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.