离子应用 iOS 9 问题 [$rootScope:infdig] 10 $digest() 迭代达到 [英] ionic app iOS 9 problems [$rootScope:infdig] 10 $digest() iterations reached
问题描述
在我的 ionic/angularjs 应用程序中,如果我点击一个 ionic 列表卡项,我会在 iOS 9 上遇到一些关于过滤机制的错误.
in my ionic/angularjs application I get some errors on iOS 9 on the filtering mechanism if I click on a ionic list card item.
我得到的错误:
错误:[$rootScope:infdig] 已达到 10 个 $digest() 迭代.中止!观察者在最近 5 次迭代中被触发:[]
Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations: []
还有调用栈:
仅当我单击某个条目或从该条目单击返回时才会发生这种情况.在 iOS8 上一切正常.
It only happens if I click on a entry or if I click back from that entry. On iOS8 everything works fine.
感谢您的任何帮助
推荐答案
好吧,我发现这是 iOS9 中的一个常见错误,并且有一个补丁:
Well I found out that this is a common bug in iOS9 and there's a patch for this:
https://gist.github.com/IgorMinar/863acd413e3925bf282c
有了这个补丁,一切都恢复了.
With this patch everything works again.
这篇关于离子应用 iOS 9 问题 [$rootScope:infdig] 10 $digest() 迭代达到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!