Photos Picker Prompt
Sets the prompt of the Photos picker.
Platform Compatibility
Tags
SwiftUI Code
@State private var selectedPhoto: PhotosPickerItem?
var body: some View {
PhotosPicker("Foo", selection: $selectedPhoto)
.photosPickerPrompt("Bar")
}