Main Thread Checker: UI API called on a background thread: -[UIImagePickerController init] code example
Example: UI API called on a background thread
DispatchQueue.main.async {
//Do UI Code here.
//Call Google maps methods.
}
DispatchQueue.main.async {
//Do UI Code here.
//Call Google maps methods.
}