开发者

Formatting in a UITextView

开发者 https://www.devze.com 2022-12-28 08:33 出处:网络
im having problems with formatting for a UITextView. my app pulls in XML, saves some of it to 开发者_JAVA技巧a string , and then displays the text in a UITextView.

im having problems with formatting for a UITextView. my app pulls in XML, saves some of it to 开发者_JAVA技巧a string , and then displays the text in a UITextView.

it understands if you put a return in there, and it starts a new line. but i want to put paragraphs in there, any idea how i can pass that information without doing multiple UITextViews

Thanks :)


If you are converting to text from XML content, then it is probably easier to use a UIWebView and format using html.

If you want total control of formatting, then you need to move to using Core Text (3.2/iPad).

0

精彩评论

暂无评论...
验证码 换一张
取 消