Getting "Using two-stage rotation animation" warning with UIImagePickerController

Posted by Kay on Stack Overflow See other posts from Stack Overflow or by Kay
Published on 2010-05-21T01:03:48Z Indexed on 2010/05/21 2:00 UTC
Read the original article Hit count: 8491

Hi,

I wrote simple code to test UIImagePickerController:

@implementation ProfileEditViewController

- (void)viewDidLoad {
  [super viewDidLoad];

  photoTaker_ = [[UIImagePickerController alloc] init];
  photoTaker_.delegate = self;
  photoTaker_.sourceType = UIImagePickerControllerSourceTypeCamera;
  photoTaker_.showsCameraControls = NO;
}

- (void)viewDidAppear: (BOOL)animated {
  [self presentModalViewController: photoTaker_ animated: NO];
}

@end

And I'm getting strange warnings like the following:

2010-05-20 17:53:13.838 TestProj[2814:307] Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations. 2010-05-20 17:53:13.849 TestProj[2814:307] Using two-stage rotation animation is not supported when rotating more than one view controller or view controllers not the window delegate

Got any idea what this is about? Thanks a lot in advance!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk