简体   繁体   English

iOS 7.1动画错误

[英]iOS 7.1 animation bug

Yesterday I updated my iPhone 5 to iOS 7.1 and found a strange bug in my current application. 昨天我将iPhone 5更新为iOS 7.1,并在当前应用程序中发现了一个奇怪的错误。 There is few UINavigationControllers . UINavigationControllers很少。 After few transition in it the animation of transition become to fast, like there is no animation at all. 经过几次过渡后,过渡的动画变得很快,就像根本没有动画一样。 But more strange that all system animation became to fast, default UITableCell animation, modal window animation and so on. 但是更奇怪的是,所有系统动画都变得很快,默认是UITableCell动画,模态窗口动画等等。

Does someone know what is this? 有人知道这是什么吗? On device with 7.0.6 there is no such problem. 在具有7.0.6的设备上,没有这样的问题。

Looks like it starts to happen after few calls of: [navController setViewControllers:popViewControllers animated:animated]; 似乎在几次调用后就开始发生:[navController setViewControllers:popViewControllers animation:animated];

PS: One more thing - my app is still using iOS 6.1 SDK . PS:还有一件事-我的应用仍在使用iOS 6.1 SDK

PPS: i don't use custom default animations. PPS:我不使用自定义默认动画。

UPDATE: With 7.1 SDK problem still exists. 更新:7.1 SDK问题仍然存在。

I have similar problem after updating my iPhone from iOS 7.0.3 to 7.1. 将iPhone从iOS 7.0.3更新到7.1后,我遇到类似的问题。 I go back and forth several times using the navigation bar and after a few tries there is no transition animation. 我使用导航栏来回移动了几次,尝试了几次之后,没有过渡动画。 All animations are broken when it happens, eg. 发生时,所有动画都会中断,例如。 device rotation animation. 设备旋转动画。 After reaching this state, few more back and forth transitions cause a crash. 达到此状态后,再来回转换很少会导致崩溃。

Edit 3: 编辑3:

In my case the problem was because of accessing GUI objects from a background queue. 在我的情况下,问题是由于从后台队列访问GUI对象。 If you experience this issue make sure all GUI objects are accessed from the main thread. 如果您遇到此问题,请确保从主线程访问所有GUI对象。 Many thanks to Eugene for helping me figure this out. 非常感谢Eugene帮助我解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM