0
什么是正确的方式来实现类似于iPhone的标准iPod应用程序中的效果 - 当设备旋转到横向模式时,视图改变为覆盖流程,但是过渡类型是淡入淡出而不是旋转屏幕?IOS旋转设备不旋转动画
这是怎么了加载模式的看法:
- (void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
if (UIInterfaceOrientationIsLandscape(toInterfaceOrientation)) {
carouselView.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:carouselView animated:YES];
}
}
谢谢!
安德
presentModalViewController已被弃用。 –