Post

Replies

Boosts

Views

Activity

iOS 18 new beta5 version crash when call NSMutableAttributedString init
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
2
1
476
Aug ’24