My problem is quite simple but I can't find a way around it. When a button is pressed I present a UIActionSheet with two options (library/camera). When the users presses a button on the UIActionSheet I present a UIPopoverController with the photo library or present the camera modally.
When a button on the action sheet is pressed I get the following warning in the console:
Warning: Attempt to present <UIImagePickerController: 0x17ae1600> on <MyViewController: 0x17a3ca00> which is already presenting <UIAlertController: 0x1884acb0>
Any ideas on a suitable workaround?