Index / Questions / How do you add multi-window support to a

How do you add multi-window support to an iPad app?

Answer

You adopt UIWindowScene with its UISceneSession abstraction, which sits between UIScreen and UIWindow. On launch, check for an existing UISceneSession and reconnect to it, so the interface state survives when iPadOS closes your app in the background.

Sources