ios - Change text into strong Bold,Italic etc -


i getting response api shown below. want show text strong, bold etc. according api response.

message =     {     <strong>helloooo</strong> };    status = 1; } 

look @ using nsattributedstring initwithdata:options:documentattributes:error: , include nsdocumenttypedocumentattribute value of nshtmltextdocumenttype in options dictionary.

if need support older versions of ios, @ dtcoretext.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -