How you can Activate Orientation Lock When Opening an App on iPhone

Khamosh Pathak

The iPhone orientation lock lacks context consciousness. Opening YouTube or Netflix received’t disable the lock, nor will opening a news-reading app allow it. Fortunately, there’s a Shortcuts automation to mechanically toggle the orientation lock when the use of sure apps.

So long as your iPhone is operating iOS 14.5 or upper, you could have get right of entry to to a Shortcuts motion known as “Set Orientation Lock.” The use of this motion, you’ll be able to create a shortcut automation that may allow or disable the portrait orientation lock.

RELATED: How you can Lock Your iPhone or iPad’s Display screen Orientation

The Automation characteristic in Shortcuts helps many triggers, starting from the time of day to opening or last apps. On this information, we’ll focal point at the opening and shutting app cause.

When the use of the Orientation Lock motion in a shortcut, you’ll be able to create a couple of automations relying in your wishes. For instance, you’ll be able to disable the orientation lock when opening Netflix or YouTube. Then, you’ll be able to create some other one for reenabling it when last the Netflix or YouTube app.

Within the following information, we’ll stroll you throughout the means of putting in place an automation that disables orientation lock whilst you open an app (Netflix or YouTube).

To get began, first, open the “Shortcuts” app in your iPhone and navigate to the “Automations” tab.

Tap on Automations tab from the Shortcuts app

Faucet the “+” button from the highest.

Tap on Plus button from Automations tab

Make a choice the “Create Non-public Automation” choice.


Now, from the triggers record, faucet the “App” choice.

Select App as Trigger

Right here, faucet the “Make a choice” button from the “App” phase.

Tap Choose from App

Seek for and upload the app that you need to create the automation for. You’ll make a selection a couple of apps right here as neatly. Faucet “Performed” to save lots of your variety.


Be sure that the “Is Opened” choice is chosen. This makes certain that the automation runs whilst you open the chosen apps. Then, faucet the “Subsequent” button from the highest.

Configure Automation and Tap Next

It’s time to create the shortcut. Right here, faucet the “Upload Motion” button.


Seek for and upload the “Set Orientation Lock” motion.


By means of default, this motion is about to toggle the orientation lock. However we need to disable it, so faucet the “Toggle” button for extra choices.

Tap Toggle

From the pop-up, make a selection the “Flip” choice.

Choose Turn Option

Subsequent, faucet the “On” button in order that it switches to the “Off” settings. The shortcut is now entire. Faucet the “Subsequent” button.

Choose Off Option and Tap Next

By means of default, the shortcut automation will ship you a notification that you simply’ll must faucet to cause the automation. Toggle off the “Ask Prior to Working” way to disable this option.

Tap to Disable Ask Before Running

From the pop-up, faucet the “Don’t Ask” button to substantiate.

Tap Don't Ask from Popup

Now, this automation will run mechanically within the background. If you’re performed, faucet the “Performed” button.

Tap Done to Save The Automation

And that’s it. The automation is now entire.

The following time you open the Netflix or YouTube app, you’ll see a notification pronouncing that the app has brought about the shortcut.

Now that you simply’ve created the automation for disabling the portrait orientation lock when opening an app, you’ll be able to create some other automation to reenable it whilst you shut the apps. You’ll repeat the directions above with a couple of adjustments.

Whilst you’re putting in place the shortcut, ensure to make a choice the “Is Closed” choice.

Select Is Closed from Automation

And within the shortcut motion, set the orientation to “Flip On.”

Set Turn Orientation lock On in Action

You don’t must spend time developing advanced shortcuts to automate movements in your iPhone or iPad. You’ll simply download community-created shortcuts and get started the use of them in only a 2nd!

RELATED: How you can To find and Set up 3rd-Celebration Shortcuts on iPhone and iPad