Using the new inline PhotosPicker style in iOS 17, it isn't made clear how to handle the cancel button's input, and i cannot seem to find an answer in the documentation.
PhotosPicker(
"Select picture",
selection: $selected,
selectionBehavior: .default,
photoLibrary: .shared()
)
.photosPickerStyle(.inline)
Does anybody have a solution or is this a bug that needs to be fixed?
Embed the Photos Picker in your app
RSS for tagDiscuss the WWDC23 Session Embed the Photos Picker in your app
Posts under wwdc2023-10107 tag
1 Post
Sort by: