mirrored
The screen an external display mirrors from.
Declaration
var mirrored: UIScreen? { get }Discussion
When a screen supports mirroring and mirroring is active, this property contains the screen object associated with the device’s main screen. This represents the screen the attached display mirrors from. The value of this property is nil when mirroring is disabled, not supported, or no screen is connected to the device.
To disable mirroring and use the external display for presenting unique content, create a window and associate it with a windowExternalDisplayNonInteractive scene.