Present Fullscreen Modal with Photos
SwiftUI Mastery Travel Discovery
In this lesson we'll learn how to utilize the new fullscreenCover API in SwiftUI 2.0.

Comments (3)
iTollMouS
2 years ago
Here is how I refactor my code : if mode == "grid" { VStackGridView(proxy: proxy, photos: photos, shouldShowFullScreenModel: $shouldShowFullScreenModel) } else { ListView(photos: photos) } could you answer in how to apply simple animation when switching btw the segments ?
iTollMouS
2 years ago
Kinda wish you demoed how to make the image zoomable like in Twitter , Photo App with double click
Igor Tkach
2 years ago
I just put DestinationHeaderContainer in VStack(alignment: .center) { Spacer() DestinationHeaderContainer(imagesURLString: photos) .scaledToFit() Spacer() } All position in center, works perfectly fine but the dots under the image in center to, works for me and looks pretty without any code duplication
HELP & SUPPORT