registerSceneAccessory(_:)
Registers a new scene accessory configuration associated with this view controller.
Declaration
func registerSceneAccessory(_ accessory: UISceneAccessory) -> UISceneAccessoryRegistrationParameters
- accessory:
A configuration which defines system functionality necessary to present the scene accessory.
Return Value
A registration object which can be used to monitor changes for the scene accessory or unregister it.
Discussion
The delegate type that the configuration defines will be called for all lifecycle events associated with the scene accessory.