Zoom Image in SwiftUI
Reading time: 4 min
This recipe shows how to zoom an image in SwiftUI using the pinch/magnify gesture. The image is zoomed in or out at the midpoint between the fingers, supports dragging and double tap to zoom in or reset.
SwiftUI Play YouTube Video
Reading time: 1 min
This recipe shows how to style the progress indicator while using the refreshable
on SwiftUI List
.
Reading time: 1 min
This recipe shows how to set visibility of a SwiftUI view. You can show it, hide it, or remove it from the view hierarchy entirely.
Play Video in SwiftUI (Sequence, Loop, etc.)
Reading time: 3 min
This recipe shows how to play videos in SwiftUI. It also shows how to add more advanced functionality, such as playing a sequence of videos, adding loop playback and custom end actions.