Skip to content

Instantly share code, notes, and snippets.

@myaaaaa-chan
Created May 10, 2013 12:14
Show Gist options
  • Select an option

  • Save myaaaaa-chan/5554049 to your computer and use it in GitHub Desktop.

Select an option

Save myaaaaa-chan/5554049 to your computer and use it in GitHub Desktop.
アプリケーションがバックグラウンドから復帰するときに任意の処理を呼び出す ref: http://qiita.com/items/b7f82079d3bb35dba68e
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