Question

In IOS6 I am using following method to get photo from I Pad photo Library.But now its not working for IOS7

UIImagePickerController* picker = [[UIImagePickerController alloc] init]; 
    picker.sourceType = UIImagePickerControllerCameraCaptureModePhoto; 
    picker.delegate = self; 

    UIPopoverController *popover = [[UIPopoverController alloc] initWithContentViewController:picker];
    [popover presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
    [picker release], picker = nil;

What is issue with IOS7

Was it helpful?

Solution

Here you can use custom Frame and load the popover ;)

[popOver presentPopoverFromRect:CGRectMake(self.view.frame.size.width-50, 50, 10, 10) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];

Check out UIImagePickerController crash only on iOS 7 - iPad

OTHER TIPS

Its Probably an iOS 7 Bug. Probably your personal hotspot is on at the moment try to turn it off at and run the application

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top