05.29.2023
Tired of toggling your iPhone's Orientation Lock for certain apps? Keep reading to learn how you can make iOS do it for you automatically. In iOS, many apps display a

In iOS, many apps display a different view when you rotate your iPhone from portrait to landscape orientation. Depending on the app and the way you use it, this behavior isn't always desirable, which is why Apple includes the Orientation Lock option in Control Center.
However, certain apps work more usefully with Orientation Lock disabled – think YouTube or the Photos app, where rotating your device to landscape orientation makes for a better fullscreen viewing experience.
If you tend to keep the lock on, you have to disable it in Control Center each time you open these kinds of apps to get the fullscreen experience. Then when you close the app, you have to remember to turn Orientation Lock back on, which isn't ideal. Fortunately, there is a simple personal automation you can create that will take over this process for you for specific apps, so you don't have to keep going in and out of Control Center any more.
The following steps show you how it's done.
- Open the Shortcuts app on your iPhone and select the Automation tab.
- Tap the plus symbol in the top-right corner of the screen.
- Tap Create Personal Automation.
- Scroll down and select App.
- Make sure Is Opened and Is Closed are both checked, then tap the blue Choose option.
- Select the apps that you want the automation to work with (we’re selecting YouTube and Photos), then tap Done.
- Tap Next.
- Tap Add Action.
- Start typing "Set Orientation Lock" into the search field, then select the script in the search results when it appears.
- Tap Next in the top-right of the Actions screen.
- Toggle off the switch next to Ask Before Running, then tap Don’t Ask in the confirmation prompt.
- Tap Done to finish.
Tag: Shortcuts
This article, "How to Automatically Toggle iPhone Orientation Lock for Specific Apps" first appeared on MacRumors.com
Discuss this article in our forums
You may also be interested in this
Apple Says It Doesn’…
02.03.2025
Apple does not approve of the "Hot Tub" pornography app that was released for the iPhone in the EU using alternative app distribution, Apple said in a statement to MacRumors.
15-inch MacBook Air vs 14…
06.12.2023
Apple's 15-inch MacBook Air fits into a size gap between the 14-inch MacBook Pro and 16-inch MacBook Pro, but while not as powerful, it's still a great value notebook. Here's
Threads feed of people yo…
07.06.2023
Twitter’s implosion has helped Threads get off to a great start, gaining 10M users in the first 10 hours. But the app’s rush to market has meant some surprising failings,
Apple recreates the misse…
06.22.2023
Users can now speed up the iPhone's haptic feedback thanks to a new setting in iOS 17, and at its fastest, it comes close to how the old 3D Touch
Apple’s Annual Back to Sc…
06.05.2023
As WWDC nears, we’re anticipating some all-new or updated Mac models that will be announced as soon as… The post Apple’s Annual Back to School Promo to Kick Off After
Biden administration: App…
05.25.2023
Following Apple and Broadcom's $1.1 billion combined loss in court, the US Solicitor General has asked the Supreme Court to block the pair's attempt to invalidate Caltech's patents at the
iPhone SE 4 might avoid A…
01.20.2025
Rumors indicate the upcoming iPhone SE 4 will come with a larger display, but no screen notch or Home button. (via Cult of Mac - Apple news, rumors, reviews and
USB-C iPhone 15: The late…
05.26.2023
A USB-C iPhone may have once seemed impossible, but the latest rumors suggest it’s actually coming sooner than you may think. Amid regulatory pushback and limitations of the Lightning connector,