没有动画的 UIToolbar 过渡
我有一个 UINavigationController
,底部有一个 UIToolbar
。我的几个视图在底部工具栏上有完全相同的项目,但是当它从一个视图转换到另一个视图时,它会产生动画,使按钮淡出然后再重新淡入。我怎样才能停止这个动画?
I have a UINavigationController
that has a UIToolbar
on the bottom. Several of my views have the same exact items on the bottom toolbar, but when it transitions from one view to another it animates, fading the button out and then back in. How can I stop this animation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您推送下一个 viewController 时,使用完全相同的工具栏项目,如下所示:
Use the exact same toolbarItems when you push the next viewController as follows: