Xcode数字输入有十进制错误



在xcode中,当我打开。xib文件中文本字段的十进制键盘选项时,我运行应用程序,我收到这个错误:

Jun 13 01:22:38 Nicholas-Gibsons-iPhone Quick Utilities[1009] <Error>: 
CGContextSetFillColorWithColor: 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.

如果你知道这到底是什么意思,你会有很大的帮助!非常感谢!

尝试以下操作:

textField.keyboardType = UIKeyboardTypeDecimalPad;

检查您是否在任何地方使用上下文 -如果是,则在任何地方重新命名它。

相关内容

  • 没有找到相关文章