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 -

google shop client API returns 400 bad request error while adding an item -