See the image below (I sat a breakpoint on CGPostError). Is there anything to do with this error?? In console the following message was printed out:
<Error>: doClip: empty path
We’re building an iPad app and uses webkit to display custom ads.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look for clipping functions with empty paths, like
CGContextClip(). In this case, the errors appears harmless and the “fix” appears equally harmless. From Apple’s docs,http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html
If you really want to prevent logging the error, you should probably check the context before calling
CGContextClip(...)or similar functions: