Dear s_petrovskiy2, Just for clarification, can you please answer: By mirroring, you mean that the external device would be displaying identical content to what is on your iPhone, correct? Are you using storyboards, and defining your scenes in your Info.plist? If so, then you would not need to handle scene:willConnectToSession:options: for the default configuration of your root view controller main device screen. (If you are loading it programmatically, you would need to, as seen in Tech Note TN3187: Migrating to the UIKit scene-based life cycle; but since your window has already been created, it sounds like you are using the Info.plist method. In which UIWindowSceneDelegate delegate method are you seeing a second scene created? When does it take place during your app's operation? After connecting to the AirPlay receiver (your MacBook)? How are you initiating an AirPlay connection with your app- are you using the built-in Screen Mirroring button in iOS? Please let me know, Richard Yeh Developer Tec
Topic:
UI Frameworks
SubTopic:
UIKit