如果键盘校正设置为“默认”或“是”,则 UIApplicationMain() 的访问错误

发布于 2024-11-16 16:21:41 字数 335 浏览 6 评论 0原文

在我的项目中,有一个简单的表视图和搜索控制器。一切都加载并正常工作,直到我在文本字段中键入内容。然后,它在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

晚雾 2024-11-23 16:21:41

我已经下载并检查了您的示例项目中所有可用的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.

手长情犹 2024-11-23 16:21:41

SDK 中的错误……我无能为力。

Bug in the SDK…not much that I can do.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文