For the complete documentation index, see llms.txt. This page is also available as Markdown.

Portrait Mode

Lock your app upright so it never rotates into landscape.

Applies to iOS and Android.

With Portrait only on, every screen stays upright no matter how the phone is held. With it off, your app rotates when the customer turns their device.

When to turn it on

Lock to portrait when landscape would look wrong — a layout built as a tall column, or a site whose navigation only works upright.

Leave it off when rotating genuinely helps: video, image galleries, wide tables, or anything customers may want to see larger.

This does not affect tablets differently. If you support iPad, remember that people hold tablets in landscape far more often than phones, so locking to portrait is a bigger loss there.

Turn it on in App Settings, then Save as draft. It takes effect on your next build.

Last updated