title: how to hard orientation lock my app in swiftui
body: <p>so I'm making an app that is all about device orientation - so I <em>don't</em> want the app to react in any way when I rotate it - ie if I put an arrow at the top of the screen, and they turn the phone (or iPad) to the left, I want the arrow to now be pointing to the left - if they turn the phone upside down, I want it pointing down.  Also if they turn the phone to the left - I want geometry reader to still tell me that the phone is much higher than it is wide.</p>
  <p>I have no idea how to do this.  All the reading I've done has stuff about appdelegates and view controllers - and I just have an App with views.</p>
  <p>I've tried adding this to the .plist file:</p>
  <pre class="lang-xml prettyprint-override"><code>
      &lt;key&gt;UISupportedInterfaceOrientations&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;UIInterfaceOrientationPortrait&lt;/string&gt;
      &lt;/array&gt;
  </code></pre>
  <p>and it had no effect whatsoever that I could tell.</p>
  <p>How can I just completely disable <em>any</em> rotation functionality as far as my app is concerned?</p>