10

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.

これが実際に何を意味するのか少しでもわかっているなら、あなたは大いに助けになるでしょう!本当にありがとう!

4

2 に答える 2

1

以下を試してください:

textField.keyboardType = UIKeyboardTypeDecimalPad;
于 2013-06-13T08:28:06.697 に答える
0

どこでもコンテキストを使用しているかどうかを確認してください。

于 2013-10-14T17:23:22.833 に答える