SwiftUI Image Picker
Reading time: 1 min
This recipe shows how to add an image picker to your SwiftUI app. You'll do this by wrapping a UIKit UIImagePickerController
in a UIViewControllerRepresentable
.
Detect App Moving to Background in SwiftUI
Reading time: 1 min
This recipe shows two ways of detecting when your app goes to foreground or background.
GIF Images in SwiftUI
WebView in SwiftUI
Reading time: 4 min
This recipe shows how to embed a WKWebView
into SwiftUI and have a (somewhat) functional browser in your app!
Custom Progress View in SwiftUI
Reading time: 3 min
This recipe shows how to customize a Progress
view by implementing a custom ProgressViewStyle
. You'll implement a circular progress bar that supports both definite and indefinite progress.