I'm a new app developer and am trying to add a button that adds pictures from the photo library AND camera. I added the first function (adding pictures from the photo library) using the new-ish photoPicker, but I can't find a way to do the same thing for the camera. Should I just tough it out and use the UI View Controller struct that I've seen in all of the YouTube tutorials I've come across?
I also want the user to be able to crop the picture in the app after they take a picture.
Thanks in advance
Hello @BriteKnight15,
The PhotosPicker does not provide camera capture functionality. As noted in Meet the new Photos picker, the photos library portion of UIImagePickerController is deprecated.
If you want to use the camera capture portion of UIImagePickerController, it is not deprecated. Your other choice would be to utilize AVCapture to build your own camera capture functionality (this is significantly more flexible than the picker controller).
Best regards,
-- Greg