Answers for "Unity runtime: UI API called from background thread: -[NSApplication isActive] must be used from main thread only"

1

UI API called on a background thread

DispatchQueue.main.async {
    //Do UI Code here. 
    //Call Google maps methods.
}
Posted by: Guest on September-14-2020

Code answers related to "Unity runtime: UI API called from background thread: -[NSApplication isActive] must be used from main thread only"

Code answers related to "Swift"

Browse Popular Code Answers by Language