My new favorite iPhone trick automatically toggles iPhone rotation lock for specific apps

This brilliant iPhone Shortcuts automation trick will toggle orientation lock automatically when you use certain apps – how to set it up.
View full source