How to make a SwiftUI view extend past the width of the screen?

Viewed 18

I have a view that I want to extend past the screen's width, but it seems to always try to fit the content within the bounds. How can I make it extend past without a horizontal ScrollView?

I tried using ignoresSafeArea, as well as setting a maxWidth of infinity

My goal is to have a view that I can pan around similar to Apple's Maps. Thank you!

0 Answers
Related