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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -