今天做的时候遇到的,代码放上去后,模拟器调试时会出现闪跳,既是本来竖屏的变为横屏的跳,不过在真机上每什么问题,所以是可行的
self.window.rootViewController = imagePicker_;
[[UIApplication sharedApplication]setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft animated:YES];
imagePicker_.view.transform = CGAffineTransformMakeRotation(M_PI/(-2));
imagePicker_.view.bounds = CGRectMake(0, 0, 480, 320);