Reputation: 117
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?
Upvotes: 0
Views: 1093
Reputation: 2712
That means surface you are trying to use has zero surface size.
Check this out: CGContext invalid context 0x0
Upvotes: 1
Reputation: 535191
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.
Upvotes: 2