Make only one screen landscape , others portal
1. Make project just allow portal 2. In AppDelegate.swift file: add 2 functions func application( _ application: UIApplication , supportedInterfaceOrientationsFor window: UIWindow ?) -> UIInterfaceOrientationMask { if let rootViewController = self . topViewControllerWithRootViewController (rootViewController: window?. rootViewController ) { if (rootViewController. responds (to: Selector (( " canRotate " )))) { // Unlock landscape view orientations for this view controller return . landscapeRight // .allButUpsideDown; } } // Only allow portrait (standard behaviour) return . portrait ; } ...