主要代码段
demoController = [[DemoViewController alloc] init];
demoController.modalPresentationStyle = UIModalPresentationFormSheet;
demoController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:demoController animated:YES];
[demoController.view.superview setBounds:CGRectMake(0, 0, 400, 300)];
[demoController release];
iOS模态视图控制器演示
本文介绍如何在iOS应用中使用Objective-C演示模态视图控制器,包括设置展示样式为表单表单和过渡效果为交叉溶解,并调整视图大小。
213

被折叠的 条评论
为什么被折叠?



