最終更新:2024-04-30 (火) 05:22:11 (223d)
UIApplicationDelegate
Top / UIApplicationDelegate
UIApplicationのプロトコル
iOSアプリ/ライフサイクル
Swift
- UIApplicationDelegate.application(_:willFinishLaunchingWithOptions:)
- UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)
- UIApplicationDelegate.applicationDidEnterBackground(_:)
Tasks
Monitoring Application State Changes
- UIApplicationDelegate application:willFinishLaunchingWithOptions:
- UIApplicationDelegate application:didFinishLaunchingWithOptions: - アプリケーション起動後、最初に実行する処理
- UIApplicationDelegate applicationDidFinishLaunching - Deprecated
- UIApplicationDelegate applicationDidBecomeActive - フォアグラウンド状態になったときの実行準備処理を記述
- UIApplicationDelegate applicationWillResignActive - フォアグラウンド状態から抜けようとしている際に呼び出される
- UIApplicationDelegate applicationDidEnterBackground? - バックグラウンド状態で動作しており、いつでも一時停止状態になりうる
- UIApplicationDelegate applicationWillEnterForeground - バックグラウンド状態から抜けつつあるけれども、まだアクティブにはなっていない
- UIApplicationDelegate applicationWillTerminate? - アプリケーションがもうすぐ停止する
Opening a URL Resource
- UIApplicationDelegate application:handleOpenURL?
- UIApplicationDelegate application:openURL:sourceApplication:annotation?
Managing Status Bar Changes
- UIApplicationDelegate application:willChangeStatusBarOrientation:duration?
- UIApplicationDelegate application:didChangeStatusBarOrientation?
- UIApplicationDelegate application:willChangeStatusBarFrame?
- UIApplicationDelegate application:didChangeStatusBarFrame?
Responding to System Notifications
- UIApplicationDelegate applicationDidReceiveMemoryWarning?
- UIApplicationDelegate applicationSignificantTimeChange?
Handling Remote Notifications
- UIApplicationDelegate application:didReceiveRemoteNotification?
- UIApplicationDelegate application:didRegisterForRemoteNotificationsWithDeviceToken?
- UIApplicationDelegate application:didFailToRegisterForRemoteNotificationsWithError?
- UIApplicationDelegate application(_:didRegisterForRemoteNotificationsWithDeviceToken:)?
- UIApplicationDelegate application(_:didFailToRegisterForRemoteNotificationsWithError:)?
- UIApplicationDelegate application(_:didReceiveRemoteNotification:fetchCompletionHandler:)
Handling Local Notifications
- UIApplicationDelegate application:didReceiveLocalNotification?
Responding to Content Protection Changes
- UIApplicationDelegate applicationProtectedDataWillBecomeUnavailable?
- UIApplicationDelegate applicationProtectedDataDidBecomeAvailable?
Providing a Window for Storyboarding
- window property