after update to iOS 18 beta5,We found that the next code will crash.
When we use html string to generate to a NSMutableAttributedString object. It will be crash.
NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithData:[@"some html string" dataUsingEncoding:NSUTF8StringEncoding] options:@{ NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType, NSCharacterEncodingDocumentAttribute : @(NSUTF8StringEncoding) } documentAttributes:nil error:nil];
iOS 18 new beta5 version crash when call NSMutableAttributedString init
@daole Please file a bug report and post the Feedback ID number here for the record. Thanks
@daole Did you find a solution for this? Having the same issue.