模拟器中的UITextField崩溃不在iPhone 4中(4.2) [英] UITextField Crash in Simulator not in iPhone 4 (4.2)

查看:77
本文介绍了模拟器中的UITextField崩溃不在iPhone 4中(4.2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临一个奇怪的问题,不知道如何解决它。
我在我的应用程序中有一个带有3个文本字段的简单viewcontroller。我已经在我的.h中将它们定义为IBOutlet并将它们与文件的所有者链接起来。
其中两个用默认键盘定义,另一个用手机键盘键盘。
当我尝试编辑手机字段(手机键盘)时,没关系。键盘出现,字段可以修改。
当我尝试编辑其他2个中的一个时,应用程序崩溃的原因是:终止以响应SpringBoard的终止。

I'm facing a strange issue and have no idea how to solve it. I have in my app a simple viewcontroller with 3 textfield. I have define them as IBOutlet in my .h and linked them with the file's owner. Two of them are define with default Keyboard, the other use phone pad keyboard. When i Try to edit the phone field (phone pad keyboard) it's ok. Keyboard appear, field can be modify. When i try to edit one of the 2 others, then the app crash for the reason :"Terminating in response to SpringBoard's termination."


  • 我没有收到内存警告。

  • 如果我在iPhone 4 iOS 4.2或iPhone模拟器4.1上试用它,这个工作正常。

任何想法?

提前致谢。

BR,

Smazimute

Smazimute

推荐答案

我找到了这个问题的答案。在iPhone模拟器上关闭自动更正。

I found the answer to this issue. Turn off auto correct on the iPhone Simulator.

这篇关于模拟器中的UITextField崩溃不在iPhone 4中(4.2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆