Question: How to support landscape-only on iPad app after 'Support for all orientations will soon be required' warning

Dear Apple Customer Support,

I’m developing a new Swift iPadOS app and I want the app to run in landscape only (portrait disabled).

In Xcode, under Target > General > Deployment Info > Device Orientation, if I select only Landscape Left and Landscape Right, the app builds successfully, but during upload/validation I receive this message and the upload is blocked:

“Update the Info.plist: Support for all orientations will soon be required.”

Could you please advise what the correct/recommended way is to keep an iPad app locked to landscape only while complying with the current App Store upload requirements? Is there a specific Info.plist configuration (e.g., UISupportedInterfaceOrientations~ipad) or another setting that should be used?

Thank you,

I would appreciate help.

I also have the same question

Hi, I would also like to join in on this question.

I wonder if this is because on iPadOS users can now resize apps, so forcing them to a certain orientation is redundant now?

If you want to lock in an orientation, you could maybe set the scene's minimumSize so users can't resize it smaller than a specific size that just happens to be a landscape window, such as 800 x 600? i.e.:

class SceneDelegate: UIResponder, UIWindowSceneDelegate {
	func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
		guard let windowScene: UIWindowScene = scene as? UIWindowScene else { return }
		windowScene.sizeRestrictions?.minimumSize = CGSizeMake(800, 600)
...

So, implement that, and tick all the orientation check boxes in the deployment info.

Note, you should probably try and make sure your chosen window size makes your app look good on a smaller iPad (iPad mini) in portrait orientation. If necessary, compress or hide parts of the UI when the window is too small.

Question: How to support landscape-only on iPad app after 'Support for all orientations will soon be required' warning
 
 
Q