Quantcast
Channel: Setting long String to UILabel Freezing my app with undetected error - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Image may be NSFW.
Clik here to view.

Setting 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>