DispatchQueue.main.async {
/// do your action inside main thread (here)
}
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: