Lock iPhone Orientation for Specific Apps
In this article
You can’t lock your iPhone’s orientation for individual apps using a built-in setting, but you can automate the process with Shortcuts or use the Control Center toggle to quickly switch between portrait and landscape. This article explains the built-in limitations, the workarounds that actually work, and how to set them up.
Why iPhone Doesn’t Have Per-App Orientation Settings
Apple’s iOS has a single, system-wide orientation lock that you turn on or off from Control Center or the Settings app. There is no native option to say “always open this app in landscape” or “keep this app in portrait.” This design keeps the interface consistent across apps and avoids the confusion of apps behaving differently without warning. Developers, however, can choose to support only certain orientations within their own apps—for example, a video player might force landscape even when your phone is locked in portrait. But as a user, you can’t override an app’s supported orientations or set per-app defaults without third-party tools.
How the Built-in Orientation Lock Works
When you enable the orientation lock (the icon with a lock inside a circle in Control Center), your iPhone fixes the screen to its current orientation. If you’re holding the phone in portrait, it stays portrait; if you turn it sideways, it won’t rotate. The lock is global—it applies to every app until you turn it off. You can also set it in Settings > Display & Brightness > Orientation Lock, but the Control Center toggle is faster. Note that some apps, especially video players and games, can still display in landscape even with the lock on because they’re designed to ignore the system setting. This is a common source of confusion: the lock doesn’t force apps to stay in portrait if they don’t support it.
The Shortcuts Automation Workaround
If you want a specific app to always open in a certain orientation, the only built-in method is to use the Shortcuts app to create an automation that toggles the orientation lock when you open or close that app. This isn’t a true per-app lock—it’s a workaround that changes the system setting at the right moment. Here’s how to set it up:
- Open the Shortcuts app (it’s preinstalled on iPhones running iOS 13 or later).
- Tap the Automation tab at the bottom, then tap the + button in the top right.
- Choose “Create Personal Automation.”
- Scroll down and select “App.”
- Tap “Choose” and select the app you want to control. You can also choose “Is Opened” or “Is Closed” as the trigger.
- Tap “Add Action,” search for “Set Orientation Lock,” and select it.
- Set the action to either “On” (lock orientation) or “Off” (unlock orientation), depending on what you want.
- Turn off “Ask Before Running” so the automation runs without prompting you.
- Tap “Done” to save.
You’ll need to create two automations for each app: one for when it opens and one for when it closes. For example, if you want a reading app to always be in portrait, set the “open” automation to turn the orientation lock on, and the “close” automation to turn it off. This way, when you leave the app, your phone returns to its normal behavior.
Choosing the Right Method for Your Needs
Before you set up automations, think about what you actually want. If you just need to quickly switch between portrait and landscape for a single task, the Control Center toggle is the simplest solution. If you want a specific app to always open in a certain orientation, the Shortcuts automation is the way to go. But there are limitations: the automation only works when you open and close the app, not when you rotate the phone while the app is already open. Also, if you have multiple apps with conflicting automation rules, they can override each other. For example, if you set App A to lock portrait and App B to unlock, and you switch directly from A to B, the “close” automation for A might run after the “open” automation for B, causing unexpected behavior. Test your setup to make sure it works as expected.
Common Problems and Fixes
Users often report that the orientation lock icon is grayed out, or that the automation doesn’t trigger. Here are the most common issues and how to solve them:
- Orientation lock is grayed out: This happens when your iPhone is in a position where it can’t detect rotation, such as lying flat on a table. Pick it up and tilt it slightly, then try again.
- Automation doesn’t run: Make sure “Ask Before Running” is turned off for the automation. Also, check that the app is selected correctly in the trigger—sometimes the app name doesn’t appear if you haven’t opened it recently.
- Automation runs but doesn’t change orientation: Some apps force a specific orientation regardless of the system setting. For example, many video players force landscape. In that case, the automation can’t override the app’s own code.
- Battery drain: Automations that run frequently can use a small amount of battery, but it’s usually negligible. If you notice significant drain, check your automation’s frequency.
Alternatives: Third-Party Apps and Accessibility
There are third-party apps on the App Store that claim to provide per-app orientation control, but they all rely on the same Shortcuts automation or on a configuration profile that changes the system behavior. Be cautious with any app that asks for a configuration profile—it may require you to trust a certificate, which can be a security risk. A safer alternative is to use the built-in Accessibility features. For example, you can use “AssistiveTouch” to add a custom action that toggles orientation lock, which is essentially the same as the Control Center toggle but might be easier to reach if you have mobility issues. Another option is to use “Smart Invert” or “Reduce Motion” if your goal is to reduce rotation-induced motion sickness, but those don’t lock orientation.
Frequently Asked Questions
Can I lock orientation for just one app without Shortcuts?
No, there is no built-in per-app orientation lock. The only native method is the Shortcuts automation described above. Some third-party apps exist, but they either use the same automation or require a configuration profile, which is not recommended for security reasons.
Why does my iPhone rotate even when orientation lock is on?
Some apps, especially video players, games, and camera apps, can force landscape or portrait regardless of the system orientation lock. This is a developer choice; the app is coded to ignore the system setting. The lock only prevents the system from rotating the interface based on the accelerometer, but it can’t override an app’s own orientation rules.
Will the Shortcuts automation work on all iPhones?
The Shortcuts app is available on iPhones running iOS 13 or later. The “Set Orientation Lock” action is available in the Shortcuts app, but it may not appear on older iOS versions. Check your iOS version in Settings > General > About. If you don’t see the action, update your iPhone.
Does the orientation lock affect battery life?
No, the orientation lock itself does not affect battery life. However, if you use Shortcuts automations that run frequently, they may use a tiny amount of battery, but it’s generally negligible. If you notice significant battery drain, review your automations.
Can I set different orientations for different apps at the same time?
Yes, you can create multiple automations for different apps, but they may conflict if you switch directly between them. For example, if App A locks portrait and App B unlocks, and you switch from A to B, the “close” automation for A might run after the “open” automation for B, leaving your phone in the wrong orientation. To avoid this, you can set the “close” automation to do nothing, but then your phone stays locked after you leave the app. You’ll need to manually unlock it.