.
by Hwee-Boon Yar — Subscribe to tips via weekly email
When working with Core Graphics, you may sometimes see this error message, but it's not obvious where it went wrong:
CGContextDrawImage: invalid context 0x0
Set a symbolic breakpoint for CGPostError and inspect the stack trace.
CGPostError
Like this and want such iOS dev nuggets to be emailed to you, weekly?
Sign Me Up! or follow @iosdevnuggets on Twitter
View archives of past issues