我在拆分视图上使用presentModalViewController。我现在的问题是,我在splitview上的视图是针对Landscape视图的,但我的视图总是更改为其他视图。我可以查看当前的Ipad视图吗?
我在presentModalViewController中使用了以下代码:
MyTest *test = [[MyTest alloc] initWithNibName:@"MyTestNib" bundle:nil];//[[MyTest alloc]init];
[test setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal];
// [test setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
// [test setModalTransitionStyle:UIModalTransitionStylePartialCurl];
[self presentModalViewController:test animated:YES];谢谢你
发布于 2012-12-24 18:36:37
您不应该使用presentModalViewController,这在iOS6.0中已被弃用
https://stackoverflow.com/questions/12839477
复制相似问题