本文固定链接: http://iosdev.shakuner.com/archives/194.html | iOS技术博客—飞天小猪
主要代码段:
second = [[SecondViewController alloc] init];
second.modalPresentationStyle = UIModalPresentationFormSheet;
second.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:second animated:YES];
[second.view.superview setFrame:CGRectMake(100, 100, 200, 200)];