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.

orientation lock
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.

  1. Open the Shortcuts app on your iPhone and select the Automation tab.
  2. Tap the plus symbol in the top-right corner of the screen.

  3. Tap Create Personal Automation.
  4. Scroll down and select App.
    shortcuts

  5. Make sure Is Opened and Is Closed are both checked, then tap the blue Choose option.
  6. Select the apps that you want the automation to work with (we’re selecting YouTube and Photos), then tap Done.
  7. Tap Next.
  8. Tap Add Action.
    shortcuts

  9. Start typing "Set Orientation Lock" into the search field, then select the script in the search results when it appears.
  10. Tap Next in the top-right of the Actions screen.
  11. Toggle off the switch next to Ask Before Running, then tap Don’t Ask in the confirmation prompt.
  12. Tap Done to finish.
    shortcuts

Your automation will now be saved in the Shortcuts app, and will be activated the next time you open or close any of the apps you selected for it to work with. Bear in mind that if Orientation Lock is already disabled and you open one of the selected apps, the lock will be turned back on, which is likely the reverse effect that you intended.

Top Rated Comments

19callum93 Avatar
2 weeks ago
Shortcuts is such a mess. It's ridiculous having to do all the above in order to achieve such a simple thing.
Score: 39 Votes (Like | Disagree)
TheYayAreaLiving ?️ Avatar
2 weeks ago
Nice and handy tips! That was very helpful. Thank you!

Anyone miss the Landscape Mode on iPhone?



Attachment Image
Score: 24 Votes (Like | Disagree)
senttoschool Avatar
2 weeks ago
The problem is the default iOS media player. It doesn't have a rotate button. This means if you always have the lock on, you must toggle it off while watching a video on the default player.

YouTube has this button. Most popular video apps have this button.

Apple refuses to add a rotate button in the default iOS video player.

In the last 5 years, I don't think I've ever toggled lock orientation off except for trying to watch a video via the default iOS media player horizontally.
Score: 18 Votes (Like | Disagree)
Cromulent Avatar
2 weeks ago
I always leave the lock on. I can't stand it when the phone switches to landscape view.
Score: 17 Votes (Like | Disagree)
MysteriousStain Avatar
2 weeks ago
You can set the action to TURN on and off and not just toggle
Score: 13 Votes (Like | Disagree)
dustin_ Avatar
2 weeks ago
Wow this is great, thanks!
Score: 11 Votes (Like | Disagree)

Popular Stories

gmailbeforeandafter

Gmail, Google Docs and Google Sheets Gain Support for 2018 iPad Pro Models

Monday February 4, 2019 1:51 pm PST by
Google today updated its Gmail, Google Docs, and Google Sheets apps for iOS devices, introducing support for the new 11 and 12.9-inch iPad Pro models. The update brings an optimized form factor that no longer features distracting black bars at the top and bottom of the display in portrait mode or at the sides in landscape mode. Following the update, the Gmail app takes up the entirety of the...
macos monterey

Here Are All the Macs Compatible With macOS Monterey

Monday June 7, 2021 12:17 pm PDT by
macOS Monterey is compatible with many of the Macs that were able to run macOS Big Sur, but it drops support for some older MacBook Air and iMac models from 2013 and 2014. A full compatibility list is below: iMac - Late 2015 and later iMac Pro - 2017 and later MacBook Air - Early 2015 and later MacBook Pro - Early 2015 and later Mac Pro - Late 2013 and later Mac mini -...