When UIImagePickerController is finished taking a

2019-08-19 04:00发布

问题:

How can I take a photo with UIImagePickerController, and when I click the "use" button, go back to camera view to take another photo?

回答1:

After you get

- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info

just go right back in with a new UIImagePicker

Here's an example: https://github.com/fulldecent/FDTake -- just call takePhotoOrChooseFromLibrary directly from gotPhoto.