How do I lock rotation for my app in SwiftUI?

The simulator in Xcode shows most of my app view obstructed when turned in landscape. How do I avoid this?

Hi Gabriel, that's a nice question! Unfortunately, I am also Gabriel, so I do not know. Have a nice day ahead!
How do I lock rotation for my app in SwiftUI?
 
 
Q