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)