iOS animationControllerForPresentedController 和 animateTransition 之间的未知延迟
iOS unknown delay between animationControllerForPresentedController and animateTransition
当从 tableView 触发动画时,使用 UIViewControllerContextTransitioning 的自定义转换遇到了一个恼人的问题
我遵循了很多教程,仅举几例:
- http://www.brightec.co.uk/blog/ios-7-custom-view-controller-transitions-and-rotation-making-it-all-work
- http://objectivetoast.com/2014/03/17/custom-transitions-on-ios/
这正是我遇到的问题(但没有解决方案:/):Custom transition animation unknown delay between animationControllerForPresentedController and animateTransition
有时有效,有时只是为了减慢速度。
我不知道 animationControllerForPresentedController 和 animateTransition 之间在幕后发生了什么。如果您有关于如何调试的想法,我很想听听。
即使没有看到您的代码,我也很确定您遇到了主线程问题。 (请参阅 http://www.raywenderlich.com/31166/25-ios-app-performance-tips-tricks#mainthread - 明白这一点,关于不阻塞主线程和始终在主线程上执行 UI。
当从 tableView 触发动画时,使用 UIViewControllerContextTransitioning 的自定义转换遇到了一个恼人的问题
我遵循了很多教程,仅举几例: - http://www.brightec.co.uk/blog/ios-7-custom-view-controller-transitions-and-rotation-making-it-all-work - http://objectivetoast.com/2014/03/17/custom-transitions-on-ios/
这正是我遇到的问题(但没有解决方案:/):Custom transition animation unknown delay between animationControllerForPresentedController and animateTransition 有时有效,有时只是为了减慢速度。
我不知道 animationControllerForPresentedController 和 animateTransition 之间在幕后发生了什么。如果您有关于如何调试的想法,我很想听听。
即使没有看到您的代码,我也很确定您遇到了主线程问题。 (请参阅 http://www.raywenderlich.com/31166/25-ios-app-performance-tips-tricks#mainthread - 明白这一点,关于不阻塞主线程和始终在主线程上执行 UI。