AppDelegate vs. SceneDelegate.

  • Initializing your app’s central data structures.
  • Configuring your app’s scenes.
  • Responding to notifications originating from outside the app, such as low-memory warnings, download completion notifications, and more.
  • Responding to events that target the app itself, and are not specific to your app’s scenes, views, or view controllers.
  • Registering for any required services at launch time, such as Apple Push Notification service.
  • func application(_:didFinishLaunchingWithOptions:) -> Bool
  • func application(_:configurationForConnecting:options:) -> UISceneConfiguration
  • func application(_:didDiscardSceneSessions:)
  • scene(_:willConnectTo:options:)
  • sceneDidDisconnect(_:)
  • sceneWillEnterForeground(_:)
  • sceneDidBecomeActive(_:)
  • sceneWillResignActive(_:)
  • sceneDidEnterBackground(_:)




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store