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
18 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
18 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
18 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
18 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
18 weeks ago
You can set the action to TURN on and off and not just toggle
Score: 13 Votes (Like | Disagree)
dustin_ Avatar
18 weeks ago
Wow this is great, thanks!
Score: 11 Votes (Like | Disagree)

Popular Stories

Multi Display CarPlay 1

All-New Apple CarPlay Launching Later This Year With These 5 New Features

Friday September 29, 2023 11:29 am PDT by
At WWDC 2022 last year, Apple previewed the next generation of CarPlay, promising deeper integration with vehicle functions like A/C and FM radio, support for multiple displays across the dashboard, personalization options, and more. Apple said the first vehicles with support for the next-generation CarPlay experience would be announced in late 2023, but it has still not shared any additional...
BMW Logo iPhone 15 Pro

Warning: BMW Wireless Charging May Break iPhone 15's Apple Pay Chip

Sunday October 1, 2023 6:14 am PDT by
If you have an iPhone 15 and drive a BMW, it might be best to avoid charging the device with the vehicle's wireless charging pad for now. Over the past week, some BMW owners have complained that their iPhone 15's NFC chip no longer works after charging the device with their vehicle's wireless charging pad, according to comments shared on the MacRumors Forums and X, formerly known as Twitter. ...
iPhone 15 Pro lineup

Apple to Address iPhone 15 Pro Overheating Issue With iOS 17 Update

Saturday September 30, 2023 9:28 am PDT by
Apple plans to release an iOS 17 update to address a bug that may contribute to the reported iPhone 15 Pro and iPhone 15 Pro Max overheating issue, according to a statement the company shared today with MacRumors and Forbes reporter David Phelan. Apple also says some recent updates to third-party apps have overloaded the system and contributed to the overheating issue. The report notes that...
iphone se 4 modified flag edges

iPhone SE 4 Details: Action Button, USB-C Port, Face ID, and More

Wednesday September 27, 2023 1:34 pm PDT by
Significant changes are expected to arrive with Apple's fourth-generation iPhone SE, in terms of both design and hardware, MacRumors has learned. The iPhone SE 4, known internally under the codename Ghost, is expected to receive a new design derived almost entirely from the base model iPhone 14. According to our sources, the iPhone SE 4 will use a modified version of the iPhone 14 chassis...
iPhone 16 Side Feature

iPhone 16 and 16 Pro: Preliminary Weights and Dimensions

Friday September 29, 2023 12:34 pm PDT by
MacRumors has obtained preliminary information on the weights and dimensions planned for the iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max. The information corroborates previous reports suggesting that the iPhone 16 Pro and 16 Pro Max will feature larger displays. iPhone 16 and 16 Plus Current information suggests that the iPhone 16 and 16 Plus will maintain the same...
uk bank account apple wallet 2

Apple Wallet's New Bank Account Feature Likely to Expand to U.S.

Friday September 29, 2023 8:11 pm PDT by
Starting with the iOS 17.1 beta released this week, iPhone users in the U.K. can add debit and credit cards from select banks in the country to the Wallet app and view their available balances and latest transactions for those accounts. Apple calls this feature Connected Cards, and it's currently available in the U.K. only, but there is now evidence to suggest it will expand to the U.S. in...
iPhone 15 Pro Cameras

Apple Says iPhone 15 Pro's Titanium Frame Does Not Contribute to Overheating Issue

Saturday September 30, 2023 11:10 am PDT by
Apple today said it plans to release an iOS 17 software update with a bug fix for the iPhone 15 Pro and iPhone 15 Pro Max overheating issue, and the company has since shared additional details about the matter with MacRumors. Importantly, Apple said the issue is not related to the titanium frame. Contrary to a report this week, Apple said the iPhone 15 Pro's design does not contribute to...