iOS开发自定义试图切换
Posted Vijay的博客
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iOS开发自定义试图切换相关的知识,希望对你有一定的参考价值。
CATransition *transition = [CATransition animation]; transition.duration = 1.0f; transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]; transition.type = @"moveIn"; transition.subtype = kCATransitionFromBottom; transition.delegate = self; [self.navigationController.view.layer addAnimation:transition forKey:nil]; [self.navigationController pushViewController:photoWall animated:YES];
以上是关于iOS开发自定义试图切换的主要内容,如果未能解决你的问题,请参考以下文章