Disble Auto Layout Swift 4
Finally i found this, just simple solve my problem thanks. klik this https://stackoverflow.com/questions/44732950/how-to-stop-or-disable-portrait-auto-rotate-app-in-ios-swift
By User Interface
Programatically
Add this in appdelegate
func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
return UIInterfaceOrientationMask(rawValue: UIInterfaceOrientationMask.landscape.rawValue)
}
This my note as my problem and solution @luffyselah
No comments: