↧
Answer by PGDev for Setting long String to UILabel Freezing my app with...
Try using DispatchQueue.main.async without any delay, i.e. DispatchQueue.main.async {[weak self] in self?.contentLabel.text = text } The above code is working perfectly fine for any length text.
View ArticleSetting long String to UILabel Freezing my app with undetected error
(I use https://www.charactercountonline.com to count my string, then my string is 2253 characters) I want to set UILabel with long string, but my app keep getting freeze without error log in xcode. I...
View Article