In iOS 18 beta 5 version, setting the conversion to NSAttributedString using [.documentType: NSAttributedString.DocumentType.html] occasionally causes crashes
The same issue was encountered in previous versions. However, after running the code on the main thread, it no longer crashed. But after upgrading to the iOS 18 beta 5 version, it occasionally crashes even when running on the main thread.
How can this issue be resolved?
How can this issue be resolved?
The best thing you can do is to make sure and file bug reports with as much information as possible, including crash reports, sysdiagnoses, and test projects that reproduce the issue.
— Ed Ford, DTS Engineer