如果键盘校正设置为“默认”或“是”,则 UIApplicationMain() 的访问错误
在我的项目中,有一个简单的表视图和搜索控制器。一切都加载并正常工作,直到我在文本字段中键入内容。然后,它在 UIApplicationMain()
处崩溃,并显示多个 UIKeyboardInputImpl
方法的堆栈跟踪。一时兴起,我决定修改 IB 中搜索栏本身的设置,结果将“更正”选项设置为“默认”或“是”会导致崩溃。我以前从未见过这种情况发生,我很想将此称为 SDK 中的错误。任何人都可以确认或提供更多见解吗?
Xcode 4 项目: http://db.tt/V6POWik
In my project, there is a simple table view and search controller. Everything loads and works fine, until I type into the text field. It then crashes at UIApplicationMain()
, with a stack track of several UIKeyboardInputImpl
methods. On a whim, I decided to mess with the settings in IB for the Search Bar itself—turns out, setting the option for Correction to Default or Yes causes the crash. I've never seen this happen before, and I'm tempted to call this a bug in the SDK. Can anyone confirm or provide more insight?
Xcode 4 Project:
http://db.tt/V6POWik
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我已经下载并检查了您的示例项目中所有可用的
Correction
选项,并且它没有崩溃。您应该尝试清理构建和派生数据以防万一,然后重试。如果您确定问题可以重现,我很想知道重现错误/崩溃所需采取的步骤。I've downloaded and checked your sample project for all available options of
Correction
and it didn't crash. You should try cleaning your build and derived data just in case and try again. If you are sure that the problem is reproducible I would love to know the steps I need to take to reproduce the error/crash.SDK 中的错误……我无能为力。
Bug in the SDK…not much that I can do.