Monitoring App State Changes

  1. application:willFinishLaunchingWithOptions:
  2. application:didFinishLaunchingWithOptions:
  3. applicationDidBecomeActive:
  4. applicationWillResignActive:
  5. applicationDidEnterBackground:
  6. applicationWillEnterForeground:
  7. applicationWillTerminate:

Providing a Window for Storyboarding

  1. window

Downloading Data in the Background (Available in iOS 7.0 and later)

  1. application:performFetchWithCompletionHandler:
  2. application:handleEventsForBackgroundURLSession:completionHandler:

Handling Remote Notifications

  1. application:didRegisterForRemoteNotificationsWithDeviceToken:
  2. application:didFailToRegisterForRemoteNotificationsWithError:
  3. application:didReceiveRemoteNotification:fetchCompletionHandler: (Available in iOS 7.0 and later)
  4. application:handleActionWithIdentifier:   forRemoteNotification:completionHandler: (Available in iOS 8.0 and later)
  5. application:didReceiveRemoteNotification:

Handling Local Notifications

  1. application:didReceiveLocalNotification:
  2. application:handleActionWithIdentifier:   forLocalNotification:completionHandler: (Available in iOS 8.0 and later)

Processing the User Notification Settings

  1. application:didRegisterUserNotificationSettings:

Responding to System Notifications

  1. applicationDidReceiveMemoryWarning:
  2. applicationSignificantTimeChange:

Managing App State Restoration (Available in iOS 6.0 and later)

  1. application:shouldSaveApplicationState:
  2. application:shouldRestoreApplicationState:
  3. application:viewControllerWithRestorationIdentifierPath:coder:
  4. application:willEncodeRestorableStateWithCoder:
  5. application:didDecodeRestorableStateWithCoder:

Opening a URL Resource

  1. application:openURL:sourceApplication:annotation:

Continuing User Activities (Available in iOS 8.0 and later)

  1. application:willContinueUserActivityWithType:
  2. application:continueUserActivity:restorationHandler:
  3. application:didUpdateUserActivity:
  4. application:didFailToContinueUserActivityWithType:error:

Disallowing Use of Specified App Extension Types

  1. application:shouldAllowExtensionPointIdentifier:

Managing Status Bar Changes

  1. application:willChangeStatusBarOrientation:duration:
  2. application:didChangeStatusBarOrientation:
  3. application:willChangeStatusBarFrame:
  4. application:didChangeStatusBarFrame:

Responding to Data Protection Changes

  1. applicationProtectedDataWillBecomeUnavailable:
  2. applicationProtectedDataDidBecomeAvailable:

Managing the Default Interface Orientations

  1. application:supportedInterfaceOrientationsForWindow:

Deprecated Methods

  1. applicationDidFinishLaunching:
  2. application:handleOpenURL:
Advertisements