11-17 15:50
Notice
Recent Posts
Recent Comments
11-17 15:50
«   2025/11   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Archives
Today
Total
관리 메뉴

pear

[iOS] UI portrait fixed(세로 고정) 본문

iOS/swift

[iOS] UI portrait fixed(세로 고정)

pearlab 2023. 6. 30. 13:03

AppDelegate

 

Function Add

(UIApplicationDelegate function override)

 

    func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {

        // portrait fixed

        return UIInterfaceOrientationMask.portrait

    }