應(yīng)用程序不管在后臺還是前臺都會執(zhí)行-(void)application:(UIApplication*)applicationdidReceiveRemoteNotification:(NSDictionary*)userInfofetchCompletionHandler:(void(^)(UIBackgroundFetchResult))completionHandler那怎么在這個方法里判斷應(yīng)用程序在前臺還是在后臺呢?
收到通知以后,怎樣判斷應(yīng)用程序在前臺還是后臺?
德瑪西亞99
2019-04-10 20:47:56