0

Nov 16 12:34:28 123456789.local iDraw Cross[2926] : CGContextRestoreGState: 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.

What does this mean?

AwesomeUser
  • 117
  • 13

2 Answers2

2

Possibly nothing. It depends on the circumstances under which you are seeing the message. There are some Simulator bugs that can cause this message; run the app on a device and see if you get it then. If not, then forget about it. Otherwise, show your code if you want specific help.

matt
  • 515,959
  • 87
  • 875
  • 1,141
  • With the 7.0.3 iPad simulator it seems to show this for me almost every time a text field becomes first responder. It's very irritating. – jrturton Nov 16 '13 at 20:39
  • Yes, That is what happens for me too. I cannot get it to do anything now and I don't know what to do. I also am not sure what to post for my source as I don't want too much public as its on the app store. – AwesomeUser Jan 05 '14 at 01:53
1

That means surface you are trying to use has zero surface size.

Check this out: CGContext invalid context 0x0

Community
  • 1
  • 1
Juraj Antas
  • 3,059
  • 27
  • 37