---
title: "One iOS automation that everyone should be using"
date: "2025-05-15"
description: "An iOS Shortcuts automation that turns orientation lock off when you open YouTube or Netflix, and back on when you close them. Here's the setup."
image: "https://bryanmanio.com/_astro/shortcuts-banner.BlcV3gFF.jpg"
url: "https://bryanmanio.com/blog/one-ios-automation-that-everyone-should-be-using/"
---

# One iOS automation that everyone should be using

The Shortcuts app is a powerful little thing, but it doesn't seem like a lot of people I talk to actually use it. I have a few personal automations that some people won't find that interesting, but there is one that I think should be baked right into iOS, which you might find useful.

## Automatically enable/disable orientation lock

At this point, I imagine we've all run into the same issue. You've got an app open, you're playing a video, and you rotate your phone to view it in landscape mode only to realize that your orientation lock is on. Then you have to swipe down into Control Center, disable the lock, get out of Control Center, then rotate your device.

Instead, you can automatically disable that lock when you have certain apps open, and you'll never have to run into that problem again.

Here's how to set it up.

1\. Open the Shortcuts app, then tap the automation tab at the bottom.

![The Automation tab in the iOS Shortcuts app](https://bryanmanio.com/_astro/img_3471-472x1024.BVu_s9J2.webp)

2\. Tap on the **new** button in the top right.

![The list of personal automation triggers in Shortcuts, from Time of Day to Message](https://bryanmanio.com/_astro/img_3472-472x1024.CH1qAdBV.webp)

3\. Scroll down and select "**App**".

![The App trigger set to “Is Opened” and “Run Immediately”](https://bryanmanio.com/_astro/img_3473-472x1024.Cg49gt4N.webp)

4\. Change to "**run immediately**" so it happens in the background.

5\. Tap the "**choose**" button, and **select your primary media apps**. For the sake of this demo, I just selected YouTube, but on my actual automation I have Netflix, YouTube, Twitch, Plex and Photos. Tap **done** when finished.

![The Choose App list in Shortcuts](https://bryanmanio.com/_astro/img_3474-472x1024.BKfYUwSo.webp)

6\. Now you'll see a "**Do**" section under the apps you have selected with a "**Choose**" button. Tap that.

![The automation for when YouTube is opened, with an empty Do section and a Choose button](https://bryanmanio.com/_astro/file-472x1024.BElPvRqQ.webp)

7\. Tap on "**New Blank Automation**"

![The action picker for the automation, with New Blank Automation first](https://bryanmanio.com/_astro/img_3475-472x1024.CLh-rM7G.webp)

8\. In the sheet, search for "**orientation**"

![An empty automation waiting for actions, with the action search at the bottom](https://bryanmanio.com/_astro/img_3476-472x1024.BNnI0tDm.webp)

9\. Tap on "**Select Orientation Lock**"

![Searching actions for “orientation”, which shows Set Orientation Lock](https://bryanmanio.com/_astro/img_3477-472x1024.B0vfraEy.webp)

10\. Change the default "**toggle**" text to "**turn**", then the orientation to "**off**". Hit done when you're finished.

![The finished action: turn orientation lock off when YouTube is opened](https://bryanmanio.com/_astro/img_3478-472x1024.DRTdPvNL.webp)

Now whenever those apps open, the orientation lock will turn off in the background, and you can view your glorious video in full screen.

## You're not done yet

Now we need to create another automation, but instead of turning the orientation lock off, we want to turn it on when your selected apps are closed.

Go through the same process from the steps above, but when you get to this screen, select "**Is Closed**" instead of "Is Opened".

![A second automation set to run when YouTube is closed](https://bryanmanio.com/_astro/img_3480-472x1024.DHHnNMEK.webp)

Once you have your apps selected, just reverse the automation, and turn the orientation lock to **on**.

![The closing action: turn orientation lock on](https://bryanmanio.com/_astro/img_3481-472x1024.Cxq4-Eb3.webp)

## What are you automating?

I'm always curious to hear about other setups people are using. Do you have something I might find useful? Feel free to drop it in the comments, or [email me](https://bryanmanio.com/contact/).
