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];
Topic:
UI Frameworks
SubTopic:
UIKit