草庐IT

handleEnterForeground

全部标签

iOS 应用程序 applicationWillEnterForeground 卡住了一段时间

我添加此功能以在应用进入前台时发布通知:-(void)applicationWillEnterForeground:(UIApplication*)application{[[NSNotificationCenterdefaultCenter]postNotificationName:@"UIApplicationWillEnterForegroundNotification"object:nil];}在我自己的类里面:-(void)handleEnterForeground:(NSNotification*)sender{[selfreloadTableData];}-(void)v

iOS 应用程序 applicationWillEnterForeground 卡住了一段时间

我添加此功能以在应用进入前台时发布通知:-(void)applicationWillEnterForeground:(UIApplication*)application{[[NSNotificationCenterdefaultCenter]postNotificationName:@"UIApplicationWillEnterForegroundNotification"object:nil];}在我自己的类里面:-(void)handleEnterForeground:(NSNotification*)sender{[selfreloadTableData];}-(void)v