Contents

externalNonInteractive(sceneConfiguration:userInfo:)

Creates a new scene accessory configuration for presenting non-interactive content on an external display.

Declaration

class func externalNonInteractive(sceneConfiguration: UISceneConfiguration, userInfo: Any) -> Self

Parameters

  • sceneConfiguration:

    A scene configuration value with delegate type defined for it.

  • userInfo:

    An object that can be used to pass additional context to the scene delegate upon connection.

Discussion

When the display connects, the scene accessory’s content may be presented on it.

This variant accepts a userInfo object to pass additional context to the scene delegate upon connection. The userInfo object is accessible in the corresponding scene via UISceneConnectionOptions.sceneAccessoryUserInfo.