iOS app applicationWillEnterForeground and it stuck for a while
问题 I add this function to post a notification when the app enter foreground: - (void)applicationWillEnterForeground:(UIApplication *)application { [[NSNotificationCenter defaultCenter] postNotificationName: @"UIApplicationWillEnterForegroundNotification" object: nil]; } In my own class: - (void) handleEnterForeground: (NSNotification*) sender { [self reloadTableData]; } - (void)viewDidLoad { [super viewDidLoad]; [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector