UITextField Crash in Simulator not in iPhone 4 (4.2)

给你一囗甜甜゛ 提交于 2019-12-01 12:10:30

问题


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."

  • I did not receive memory warning.
  • This works fine if i try it on the iPhone 4 iOS 4.2 or iPhone Simulator 4.1.

Any idea ?

Thanks in advance.

BR,

Smazimute


回答1:


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




回答2:


Try to reset iphone simulator content and settings then restart Xcode



来源:https://stackoverflow.com/questions/4458931/uitextfield-crash-in-simulator-not-in-iphone-4-4-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!