请我已经在做,从一个视图到另一个去时,翻转动画的问题,我解释一下: 我发现在这个网址教程:http://www.youtube.com/watch?v=Rgnt3auoNw0 这说明我该怎么办在这个教程中添加视图但是方法和矿井wasn`t一样,虽然我试图把他在我的IBAction为使用的代码,所以我的IBAction为看起来像这样:从视图导航,查看时进行翻转动画
-(IBAction)goToRechercherView{
[UIView beginAnimations:@"flipview" context:nil];
[UIView setAnimationDuration:2];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft
forView:self.view cache:YES];
[self presentModalViewController:rechercherViewController animated:YES];
[UIView commitAnimations];
}
喜欢我的应用程序的构建成功,但没有过渡,当我从我的视野导航,我已经puted的iBAction,请帮助,thx提前:)
它看起来并不像你展示它之前创建rechercherViewController。 – adamweeks 2011-03-25 14:27:25
嗨,实际上我没有创建它作为一个类,除了在我的主视图的.h我已经导入它:#import“RechercherViewController.h”,我已经instancied它:IBOutlet RechercherViewController * rechercherViewController – Malloc 2011-03-25 14:31:07