Can anybody suggest me how to change the font of the selected text in UITextView.I cannot use UIWebView since i have to edit the text. I have seen the Pages app.How it is possible in that app.
Asked
Active
Viewed 818 times
0
-
http://stackoverflow.com/questions/3841108/uitextfield-make-text-bold – Syed Faraz Haider Zaidi Oct 19 '11 at 13:38
2 Answers
1
See Formatting text within UILabel differently.
Since you need editing, you should also look at JavaScript-based editors such as CKEditor or TinyMCE. I also highly recommend the WWDC 2011 video for Session 511: "Rich Text Editing in Safari on iOS."

Community
- 1
- 1

Rob Napier
- 286,113
- 34
- 456
- 610
1
My article on rich text UILabels may help... details and code can be found here!
We're also about to finish a follow-up article which is basically an HTML text renderer with styles, bullets etc, this can render to a context so can render to a UIView or a PDF context for example. If you're not particularly in a hurry I can drop you a line when it is complete....

Simon Lee
- 22,304
- 4
- 41
- 45