title: How do I return a different view for a different orientation?
body: <p>I have a view which is a <code>VStack</code> of two other views, and that is all it is.</p>
  
  <p>This works great in portrait orientation (or tall/skinny macOS windows), but it is squished, awkward, and some parts aren't usable in landscape (or wide/short macOS windows).</p>
  
  <p><strong>How do I make this view return a <code>VStack</code> when it's portrait/tall/skinny, but a <code>HStack</code> when it's landscape/wide/short?</strong></p>
  
  <p>I tried many things, but all resulted in compilers errors. Since SwiftUI is so new, I couldn't find anything on the web about this.</p>