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
.
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
.