2
私はこのコードを使用して別のビューに引っ張る見解を持っている:modalViewControllerをビューから削除しますか?
secondView = [[SecondView alloc] init];
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:secondView];
navigationController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:navigationController animated:YES];
[navigationController release];
キャンセルボタンこの第二のビューには、このあります
[self.navigationController.modalViewController dismissModalViewControllerAnimated:YES];
をしかし、何もする表示されません。ビューはまだそこにあり、私はまだそれと対話することができます。どうすれば削除できますか?
!ありがとう! modalviewcontrollerを使用したことがありません。 – Andrew
アニメーションを解除する方法はありますか? – Andrew
modalTransitionStyleプロパティを変更してみてください。 –