In the analysis, I convert the HTML string data into an attribute of the string text using lines of code,
obj.strPlainText=[[NSMutableAttributedString alloc] initWithData:[obj.strContent dataUsingEncoding:NSUTF8StringEncoding] options:@{NSDocumentTypeDocumentAttribute:NSHTMLTextDocumentType, NSCharacterEncodingDocumentAttribute:@(NSUTF8StringEncoding)} documentAttributes:nil error:nil];
but my application gives poor access I get an error message,
[NSHTMLWebDelegate save]: message sent to the freed instance 0x7fa9fe027130
source share