title: iPad SwiftUI landscape orientation only
body: <p>I've created a swiftUI app and noticed that no matter what settings I change, the iPad version of the app will always allow portrait orientation. The iPhone version of the app works as expected.</p>
  <p>Here are some screenshots of my settings:</p>
  <p><a href="https://i.stack.imgur.com/KiSAc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KiSAc.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/lDKHh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lDKHh.png" alt="enter image description here" /></a></p>
  <p>How can I get the iPad app to only allow landscape orientation in SwiftUI?
  I am running Xcode 12.4</p>