title: How to turn off landscape orientation in custom iOS App Extension?
body: <p>I have a custom iOS App Extension and I am unable to turn off landscape orientation when the device is rotated.</p>
  
  <p>I need the app extension to stay in portrait mode.</p>
  
  <p>The app extension ignores -preferredInterfaceOrientationForPresentation and obviously does not inherit from my base app.</p>