UINavigationBar自定义过渡动画 [英] UINavigationBar custom transition animation

查看:351
本文介绍了UINavigationBar自定义过渡动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下协议在视图控制器之间创建了自定义转换:

I've created custom transitions between view controllers using the following protocols:

UIViewControllerAnimatedTransitioning UIViewControllerTransitioningDelegate

是否可以使用默认的 UINavigationBar 来创建自定义标题的转换,现在它们只是在视图控制器之间交叉淡入淡出,或者我是否必须从头构建我自己的导航栏视图?

Is it possible using the default UINavigationBar, to create custom transitions for the titles, right now they simply crossfade between view controllers, Or do i have to built my own navigation bar view from scratch?

推荐答案

WWDC 2013视频#218表示所有自定义转换都将交叉淡入淡出导航栏,没有办法自定义此行为。

WWDC 2013 video #218 indicates that all custom transitions will crossfade the navigation bar, and that there's no way to customize this behavior.

这篇关于UINavigationBar自定义过渡动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆