Answers for "declare view in swift ui"

0

how to start on a programatic view swift

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {    
    guard let winScene = (scene as? UIWindowScene) else { return }
    window = UIWindow(windowScene: winScene)
    window?.rootViewController = ViewController()
    window?.makeKeyAndVisible()
}
Posted by: Guest on April-07-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language