2011-10-19 16 views

答えて

1

使用アプリケーションデリゲートメソッド - 私は私からそれを呼び出す必要が

- (void)applicationDidEnterBackground:(UIApplication *)application 
{ 
    /* 
    Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 
    If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 
    */ 
} 

- (void)applicationWillEnterForeground:(UIApplication *)application 
{ 
    /* 
    Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 
    */ 
} 
+0

が実際にあなたの** applicationWillEnterForeground **の方法では、コントローラ... – user1003210

+0

を見るには、コントローラが現在占有されているビューを決定する必要があります画面を更新してください。 (リフレッシュの仕方によってreloadDataなどを呼び出す) –

+0

しかし、appdelegateから1つのビューコントローラを呼び出すにはどうすればよいですか? – user1003210

関連する問題