Post not yet marked as solved
Post marked as unsolved with 1 replies, 771 views
I'd like to be able to import photos (DNG, JPG, PNG) into my functioning iPad app optimised with Mac Catalyst.
I am able to see the UIImagePickerController popup but there are no photos in it, so I think I need to either add permissions or point it to a Mac Catalyst designated Photos folder?
Traditionally, I have used the picker like this:
let myPickerController = UIImagePickerController()
myPickerController.delegate = self
myPickerController.sourceType = .photoLibrary
Though, I'm guessing the source type has to be changed for Mac Catalyst? Can anyone please point me in the right direction here? Perhaps I need to not use UIImagePickerController at all an adopt a native Import control? Any help in the right direction is appreciated.