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
Post a Comment