Post

Replies

Boosts

Views

Activity

Calling presentLimitedLibraryPicker from SwiftUI?
What would be the correct way of calling PHPhotoLibrary's presentLimitedLibraryPicker method from SwiftUI? The method requires a UIViewController, which I don't have in SwiftUI. I have tried to use UIViewControllerRepresentable, and it works, but the result is that two View Controllers are presented, the one I create with UIViewControllerRepresentable, and the Limited Library Picker. Thanks a lot in advance!
2
0
1.1k
Sep ’20