UITextField在iOS 5中导致崩溃,在iOS 4中运行良好 [英] UITextField causes crash in iOS 5, works fine in iOS 4

查看:121
本文介绍了UITextField在iOS 5中导致崩溃,在iOS 4中运行良好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常奇怪的问题,如果我点击UITextField,我的应用程序中的任何UITextField都会因此错误而崩溃:

I have a really weird problem where if I click on a UITextField, any UITextField in my app will crash with this error:


0_CreateCachePathEmbedded(__ CFString const *,unsigned char)

0_CreateCachePathEmbedded(__CFString const*, unsigned char)

0x0246ac4f< +0375> mov(%esi),%esi

0x0246ac4f <+0375> mov (%esi),%esi

线程5 WebThread:程序收到信号:EXC_BAD_ACCESS

Thread 5 WebThread: Program received signal: "EXC_BAD_ACCESS"

我尝试在界面生成器中添加一个UITextField而没有链接到任何东西,仍然会遇到同样的崩溃。在iOS4.3模拟器中一切正常。

I tried adding a UITextField in interface builder not linked to anything, still get the same crash. Everything works fine in iOS4.3 simulator.

究竟是怎么回事?

推荐答案

仍然不确定问题是什么,但我能够通过将所有代码复制到一个新项目来修复它。

Still not sure what the problem was but I was able to fix it by just copying all code across to a new project.

这篇关于UITextField在iOS 5中导致崩溃,在iOS 4中运行良好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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