页面跳转添加动画

    SecondViewController *secondVC=[[SecondViewController alloc]init];
   
    [UIView beginAnimations:nil context:nil];
    [UIView setAnimationDuration:0.9];
    [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES];
    [self.navigationController pushViewController:secondVC animated:NO];
    [UIView commitAnimations];

posted @ 2014-11-24 16:40  銱ル╬鎯噹  阅读(184)  评论(0编辑  收藏  举报