Is there a way to force Landscape mode in SwiftUI for only certain views?

Viewed 151

SwiftUI is still fairly new and it has abstracted much of the functionality of code away. So I'm uncertain of the appropriate way of forcing landscape mode on only particular views, not every view.

Does anyone know a clean and consistent way to approach this?

1 Answers
Related