Jes*_*ala 5 iphone keyboard ios
最近我将我的Xcode升级到Xcode5 ......
当我尝试在我的应用程序的任何UITextfield(使用我的物理键盘)上写入时,有时在我的iPhone/iPad模拟器上运行我的应用程序,这个错误出现在我的Xcode5 ouptut窗口上:
<Error>: CGContextSetBlendMode: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Run Code Online (Sandbox Code Playgroud)
如果我使用模拟器的键盘(屏幕),它工作正常,但出于测试目的,我宁愿在我的Mac键盘上键入以进行快速开发/测试,任何想法如何解决这个问题?
提前致谢
当我搬到 . 时,这个问题也发生在我身上iOS 7.0。我注意到,在 UITextfields 的情况下,此问题仅发生在empty text fields,特别是在double clicking其上。所以我只是做了以下操作来消除错误:
myTextField.text = @" "; // Just replaced the textfield text with a 'space' on init
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4189 次 |
| 最近记录: |