Post

Looks like my iPhone app is getting a big brother 👨‍🍼

1 repost19 likes

Thanks! Yeah, it’s 100 % SwiftUI and was quite simple to set up: It’s a NavigationStack inside an HStack. The HStack sits inside a ZStack on top of the Map. Also the map‘s content is pushed to the side with safeAreaInsets for .leading side.

Hey Yannick, I'm thinking again about this layout. How do you get the rounded & shadowed NavigationStack that resembles a sheet? Would you mind sharing some code on how you achieve this Apple Maps / Flighty / Tripsy / Slopes map layout in SwiftUI? Thank you!

Thanks for sharing! I never took the time to explore how to reproduce this UI with SwiftUI (I know it’s “easier” with UIKit but I don’t think I found the equivalent).