Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIImagePickerController to take photo with out asking for "use" confirmation

Im building an app that takes a photo of the user, its working fine

using the nice UIImagePickerController

this is what happens when the button that calls the delegate for the UIImagePickerController gets called

  1. open camera modal view to take image
  2. tap on the camera [bottom bar] to take the pic
  3. bottom bar with: Retake (left side); Use (right side)

but my question and what i need is:

  1. open camera modal view to take image
  2. tap on the camera [bottom bar] to take the pic
  3. save that pic, "Use", with out asking confirmation

thanks a lot!

like image 291
manuelBetancurt Avatar asked Sep 06 '25 18:09

manuelBetancurt


1 Answers

You need to provide a cameraOverlayView and set showsCameraControls = NO.

EDIT: removed ref to allowEditing.

like image 182
XJones Avatar answered Sep 10 '25 08:09

XJones