主要代码段
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];