Post

Replies

Boosts

Views

Activity

Reply to Crash using NSMutableAttributedString with an HMTL document inside a collection view - iOS 18, XCode 16
You need to ensure that NSMutableAttributedString is initialized in the main thread DispatchQueue.main.async { let attributedString = try? NSMutableAttributedString( data: data, options: [.documentType: NSAttributedString.DocumentType.html], documentAttributes: nil ) // change your ui }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’25