Re: iPad: UIImagePickerController

2010-04-07 Thread Development
exception 'NSInvalidArgumentException', >> reason: 'On iPad, UIImagePickerController must be presented via >> UIPopoverController' > > > That's because on iPad, image pickers must be used within a popover (just > what the exception instructs). I s

Re: iPad: UIImagePickerController

2010-04-07 Thread Luke the Hiesterman
OS so you won't crash on unknown selector. > > And now it crashes telling me I have to use a popover: > > *** Terminating app due to uncaught exception 'NSInvalidArgumentException', > reason: 'On iPad, UIImagePickerController must be presented via > UIPopoverCont

Re: iPad: UIImagePickerController

2010-04-07 Thread Ricky Sharp
aught exception 'NSInvalidArgumentException', > reason: 'On iPad, UIImagePickerController must be presented via > UIPopoverController' That's because on iPad, image pickers must be used within a popover (just what the exception instructs). I strongly suggest you read the i

iPad: UIImagePickerController

2010-04-07 Thread Development
pickerParent fromTop:YES]; [self presentModalViewController:mainPicker animated:YES]; } } And now it crashes telling me I have to use a popover: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'On iPad, UIImag