SceneDelegateObserving

public protocol SceneDelegateObserving : EventObserving

This protocol defines an API which makes possible to observe and react to the UISceneDelegate’s methods.

  • Asks the delegate to open the resources specified by URLContexts. This method is not called when the app launches for the first time, but if the app is running or suspended. For the first time launch of application through the URL, the system calls scene(_:willConnectTo:options:) method and you can get the configuration in the connectionOptions parameter.

    Declaration

    Swift

    func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>)
  • This method is called when your app creates or restores an instance of your user interface. Find the configuration in the options If the application launch with the URL or NSUserActivity,.

    Declaration

    Swift

    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions)
  • Use this method to update the specified scene with the data from the provided userActivity object.

    Declaration

    Swift

    func scene(_ scene: UIScene, continue userActivity: NSUserActivity)
  • This method is called when UIScene associated with the onboarding flow changes in a multi-window application Use this method to re-initialize the onboarding.

    Declaration

    Swift

    func onboardingSceneDidChange(_ scene: UIScene, newOnboardingScene sessionID: String)
  • Declaration

    Swift

    func sceneWillEnterForeground(_ scene: UIScene)
  • Declaration

    Swift

    func sceneDidEnterBackground(_ scene: UIScene)