UIImageView Picker giving exception in ipad
I am using UIImagePicker to load image from library but it gives exception
saying use popover for ipad.I tried those also but not working any idea
how to fix this issue.
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
[self presentModalViewController:picker animated:YES];
No comments:
Post a Comment