Programming

Swift: iOS Programmatic UI

22 กรกฎาคม 20231 นาที
0
Swift: iOS Programmatic UI
Table of Contents
Swift Logo
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let windowScene = (scene as? UIWindowScene) else { return } let window = UIWindow(windowScene: windowScene) window.rootViewController = ViewController() self.window = window self.window?.makeKeyAndVisible() }

คลิกเพื่อแสดงความคิดเห็น