モーダルビューのサイズと位置を変更したい。サイズ変更はうまく機能します。再配置は機能しません。影のバグがあります。スクリーンショット2をご覧ください。影を下げることは可能ですか?
-(IBAction) onModal:(id)sender
{
UINavigationController *nav = [[UINavigationController alloc] init];
nav.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentViewController:nav animated:YES completion:nil];
nav.view.superview.bounds = CGRectMake(0, 0, 200, 200);
}
nav.view.superview.bounds = CGRectMake(0, -200, 200, 200);