PortraitLock was originally developed by ryst, who stopped supporting it after iOS 8. iOS 9 support was hacked in by blandry3, I added iOS 10 and 11 support along with fixing some bugs.

Allows you to set the orientation lock on a per-app basis.