ビュー コントローラーの表示スタイルをフォーム シートに設定して表示しようとしています。ただし、View Controller が表示されると、画面の中央ではなく右側に配置されます。なぜこれが起こっているのか、何をすべきなのかわかりません。これらの座標はすべて正しいです。
CGSize size = CGSizeMake(650, 550);
//custom init for ViewController so I can position stuff correctly
ViewController *vc = [[ViewController alloc] initWithSize:size];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:vc];
nav.modalPresentationStyle = UIModalPresentationFormSheet;
nav.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:nav animated:YES];
nav.view.superview.frame = CGRectMake(0, 0, size.width, size.height);
nav.view.superview.center = self.view.center;