UIModalPresentationFormSheet をリサイズしたい
StackOverFlowにまさにな質問が。
ipad - UIModalPresentationFormSheet resizing view - Stack Overflow
superviewに対してリサイズすればいいみたいです。
MyModalViewController *targetController = [[[MyModalViewController alloc] init] autorelease]; targetController.modalPresentationStyle = UIModalPresentationFormSheet; targetController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; //transition shouldn't matter [self presentModalViewController:targetController animated:YES]; targetController.view.superview.frame = CGRectMake(0, 0, 200, 200);//it's important to do this after targetController.view.superview.center = self.view.center;