为什么transitionFromView...会导致toView:延迟?
我正在使用 transitionFromView:... UIView 选择器在我的应用程序委托中的两个 UIViewController 之间进行交换,它工作正常,但 UINavigationController 中的 UINavigationBar 似乎有不同的框架...
我的应用程序委托很简单,我使用控制器来下载信息,它有一个委托通知其操作已结束,在那一刻我使用 UIView transitionFromView:... 选择器来动画控制器交换,并发生我在图像中向您展示的内容。 UINavigationController 中的 UIView 也会出现此问题。
我做了一些简单的例子模拟相同并且工作正常,我相信这个问题是由 UINavigationController rootController 中的 viewDidLoad 选择器引起的,我是对的吗?或者还有什么可能发生?
I'm using transitionFromView:... UIView selector for interchange between two UIViewControllers in my application delegate and it works fine but UINavigationBar from my UINavigationController seems like has a different frame...
My Application Delegate is simple, I use a controller for download info, it has a delegate which informs that its action is over, in that momment I use UIView transitionFromView:... selector to animate the controllers interchange, and happens what I show you in the image. This problem also happen with the UIView from the UINavigationController too.
I have made some simple examples simulating the same and works fine, I believe that this problem is caused for the viewDidLoad selector in the UINavigationController rootController, am I correct? Or what else could being happen?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论