views:

517

answers:

2

In my UIViewController class, I created an UIImagePickerController like this :

-(BOOL)startCameraPickerFromViewController{

if (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])       
    return NO;
UIImagePickerController* picker = [[UIImagePickerController alloc] init];

picker.sourceType = UIImagePickerControllerSourceTypeCamera;    

picker.allowsEditing = NO ;
picker.delegate = appDelegate.uiImagePickerDelegate;

// Picker is displayed asynchronously.


[self presentModalViewController:picker animated:NO];
return YES; 
}

When I call my function, I get :

Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations.

I read in the UIViewController Class Reference on Apple site that I attempt to use the old way to use rotation. But in my UIViewController, I've never write :

– willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:

or

– willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:

methods.

I've tryed to override the

willAnimateRotationToInterfaceOrientation:duration:

but it's the same problem.

I think that the problem come from UIImagePickerController. Is there a solution?

A: 

I normally ignore these.

tc.
A: 

I am having the same problem, and I've seen lots of others with this problem. I'm at wits' end. What is the story?

Jason

related questions