Created
May 10, 2013 12:14
-
-
Save myaaaaa-chan/5554049 to your computer and use it in GitHub Desktop.
アプリケーションがバックグラウンドから復帰するときに任意の処理を呼び出す ref: http://qiita.com/items/b7f82079d3bb35dba68e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UIApplication *application = [UIApplication sharedApplication]; | |
| // アクティブになったときに通知されるように登録する | |
| [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(hoge) name:UIApplicationDidBecomeActiveNotification object:application]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment