Home:ALL Converter>Main Thread Checker: UI API called on a background thread

Main Thread Checker: UI API called on a background thread

Ask Time:2020-01-29T15:16:18         Author:user12688502

Json Formatter

I am getting this error even though my UI updates on

DispatchQueue.main.async {
} 

I tried to find out the thing which is causing this warning and freezes the app. I am attaching screenshot for more details. Can anyone help to figure out the issue? I tried to look on this Main Thread Checker: UI API called on a background thread: -[UIApplication delegate] Freezes the application and this Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] but it didn't help.

enter image description here

Author:user12688502,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/59962138/main-thread-checker-ui-api-called-on-a-background-thread
yy