-
-
Save iosdevie/56b638bc471fe9b574cbf4d7ebad9a88 to your computer and use it in GitHub Desktop.
ipados 13 multiwindow support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions){ | |
guard let windowScene = (scene as? UIWindowScene) else { return } | |
window = UIWindow(frame: windowScene.coordinateSpace.bounds) | |
window?.windowScene = windowScene | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment