Post

Replies

Boosts

Views

Activity

Reply to Some system events blocking the main thread in app clip
This is happening to me, too, and I'm not even using sound. It is from a Watch Extension, though. For me, it happens when initializing an NSAttributedString... let options: [NSAttributedString.DocumentReadingOptionKey: Any] = [             .documentType: NSAttributedString.DocumentType.html,             .characterEncoding: String.Encoding.utf8.rawValue         ]                  // Try to parse input string data out as an HTML document, return input if failed         guard let attributedString = try? NSAttributedString(data: inputStringData, options: options, documentAttributes: nil) else {             return false         }
Aug ’20