aryaxt / iOS-Rich-Text-Editor

A Rich Text Editor for iOS
Other
893 stars 158 forks source link

Convert html text to NSString #58

Closed Milan3792 closed 8 years ago

Milan3792 commented 8 years ago

is there any method that could help me display the text converted from html string?

Deadpikle commented 8 years ago

If you have an HTML NSString, you can display it with setHtmlString:, which will automatically convert the NSString to an NSAttributedString and display it in the text view. If you already have an NSAttributedString, you can call the setAttributedText: method.

aryaxt commented 8 years ago

thanks @Deadpikle