Post

Replies

Boosts

Views

Activity

Reply to NSMutableAttributedString initialisation to prevent crash
I am trying to convert HTML to attributed string so used this try NSAttributedString(data: data, options: [.documentType: NSAttributedString.DocumentType.html, .characterEncoding: String.Encoding.utf8.rawValue], documentAttributes: nil) But, am getting memory leak in this single line and due to memory leak app crashes.. Any solution for this??
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22