1

/トランジションUIViewAnimationTransitionの1つでタイプを使用するにはどうすればよいですか?UINavigationTabBar

4

2 に答える 2

5

私が見つけた唯一の方法は、組み込みのトランジションアニメーションを無効にして、独自のアニメーションを使用することです。UINavigationControllerには次のようなものを使用します。

UIViewAnimationTransition  trans = UIViewAnimationTransitionCurlUp;
[UIView beginAnimations: nil context: nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationTransition: trans forView: [delegate window] cache: YES];
[navController pushViewController:detailController animated:NO];
[UIView commitAnimations];
于 2010-03-08T21:08:14.930 に答える
2

いいえ、できません。

(UINavigationControllerにはプライベート -pushViewController:transition:forceImmediate:があります。)

于 2010-03-08T13:57:19.597 に答える