简体   繁体   English

INVALID字典0)。 为什么我会出现此错误?

[英]INVALID dictionary 0 ). Why I Am Getting this Error?

I am getting this message only the first time that I touch over the top search bar of a table. 我第一次触摸桌面的顶部搜索栏时才收到此消息。

INVALID dictionary 0 
)
INVALID dictionary 0 
)

All still working after the warning but I prefer do not see it. 警告后所有人仍在工作,但我更喜欢看不到它。 Someone knows why I am getting this message? 有人知道为什么我收到这条消息?

Thanks for reading. 谢谢阅读。

Now, with iOS 4.2. 现在,使用iOS 4.2。 I am not getting this problem anymore. 我不再遇到这个问题了。 I think it was a bug of the 4.0. 我认为这是4.0的错误。 version. 版。

It seems like not an iOS 4.2 bug. 这似乎不是iOS 4.2的错误。 Something else. 还有别的。 Sometimes I get this problem with 4.2. 有时我会用4.2来解决这个问题。 I'm not sure, but I noticed this this error sometimes occurs when I use no en_US localizations, for example - Spanish . 我不确定,但我注意到这个错误有时会发生在我没有使用en_US本地化时,例如 - 西班牙语。

I got this issue running iOS 4.3.6 calling -[UIResponder becomeFirstResponder] , which resulted in the following output: 我得到了这个问题,运行iOS 4.3.6调用-[UIResponder becomeFirstResponder] ,导致以下输出:

   INVALID dictionary 0
   )
   WARNING: Input manager failed to load static dictionary for: nl_NL
   INVALID dictionary 0
   )

The WARNING reminded me that I had previously enabled a Dutch keyboard for testing purposes. WARNING提醒我,我之前已启用荷兰语键盘进行测试。 Removing that keyboard via iOS Settings got rid of the warning for me. 通过iOS设置删除该键盘摆脱了我的警告。

This is obviously not an valid solution if your app supports multiple languages, but for my purposes this was acceptable. 如果您的应用支持多种语言,这显然不是有效的解决方案,但出于我的目的,这是可以接受的。 Hope that helps someone. 希望能帮助别人。

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

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