takePicture method


#1

FYI. If you are following the code in the book and using the imagePickerPopover (when running on an iPad) the takePicture method code needs to check if the imagePickerPopover is already displayed. Otherwise, it’s possible to stack up a bunch of popovers. I just wrapped the code in this method with a simple check:

if (!imagePickerPopover) { // existing code... }