子View Controller間の遷移を処理するルートView Controllerを1つ用意するか、必要に応じてルートView Controllerを切り替えることをお勧めしますか?
また、presentViewController: でカスタム アニメーションを作成できますか?
子View Controller間の遷移を処理するルートView Controllerを1つ用意するか、必要に応じてルートView Controllerを切り替えることをお勧めしますか?
また、presentViewController: でカスタム アニメーションを作成できますか?
つまり、[presentViewController:animated:] は使用できません。
これは正しくありません。次のようなことができます。
NewTestViewController *newTestController = [[NewTestViewController alloc] initForPhone];
newTestController.view.frame = CGRectMake(0, self.view.frame.size.height, self.view.frame.size.width, self.view.frame.size.height);
[self.view addSubview:newTestController.view];
[UIView animateWithDuration:0.3 animations:^(void){
newTestController.view.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
} completion:^(BOOL worked) {
[newTestController.view removeFromSuperview];
[self presentViewController:newTestController animated:NO completion:nil];
}];