iOS 解决Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
转自:https://www.jianshu.com/p/d0516dca5286MainThreadChecker:UIAPIcalledonabackgroundthread:-[UIApplicationapplicationState]PID:61808,TID:11632650,Threadname:(none),Queuename:com.apple.root.user-initiat