小编ter*_*rut的帖子

使用iOS 6.0的多字节键盘编辑uitextfield时,"无效上下文错误0x0"

我使用Xcode 4.5.1更新了iOS 6.0 SDK,在我的应用程序中使用多字节键盘(例如日语键盘)编辑UITextField时,我的上下文错误0x0无效.以下是错误:

Oct  9 21:46:44 example.com Example[2303] <Error>: CGContextSaveGState: invalid context 0x0
Oct  9 21:46:44 example.com Example[2303] <Error>: CGContextDrawLinearGradient: invalid context 0x0
Oct  9 21:46:44 example.com Example[2303] <Error>: CGContextSetFillColorWithColor: invalid context 0x0
Oct  9 21:46:44 example.com Example[2303] <Error>: CGContextFillRects: invalid context 0x0
Oct  9 21:46:44 example.com Example[2303] <Error>: CGContextFillRects: invalid context 0x0
Oct  9 21:46:44 example.com Example[2303] <Error>: CGContextSetFillColorWithColor: invalid context 0x0
Oct  9 21:46:44 example.com Example[2303] <Error>: CGContextFillRects: invalid context 0x0
Oct  9 21:46:44 example.com Example[2303] <Error>: …
Run Code Online (Sandbox Code Playgroud)

objective-c ios6

8
推荐指数
1
解决办法
4940
查看次数

标签 统计

ios6 ×1

objective-c ×1