UIApplicationDelegateプロトコル
準拠 | NSObject |
フレームワーク | /System/Library/Frameworks/UIKit.framework |
使用可能 | iOS 2.0 |
定義 | UIApplication.h |
UIStateRestoration.h |
概要
タスク
アプリケーション状態の変化
– application:willFinishLaunchingWithOptions: [6.0]
– application:didFinishLaunchingWithOptions [3.0]
– applicationDidBecomeActive
– applicationWillResignActive
– applicationDidEnterBackground
– applicationWillEnterForeground
ストーリーボードのウインドウの提供
window property
デフォルトのインターフェースの向きの管理
バックグラウンドでのデータのダウンロード
– application:performFetchWithCompletionHandler
– application:handleEventsForBackgroundURLSession:completionHandler
リモート通知の取り扱い
– application:didReceiveRemoteNotification:
– application:didReceiveRemoteNotification:fetchCompletionHandler:
– application:didRegisterForRemoteNotificationsWithDeviceToken [3.0]
– application:didFailToRegisterForRemoteNotificationsWithError