iPhone: no way to draw on screen outside drawRect?

Posted by Seva Alekseyev on Stack Overflow See other posts from Stack Overflow or by Seva Alekseyev
Published on 2010-05-13T15:19:10Z Indexed on 2010/05/13 15:24 UTC
Read the original article Hit count: 195

Filed under:
|
|

Is there a way to draw on the iPhone screen (on a UIView in a UIWindow) outside of that view's drawRect() method? If so, how do I obtain the graphics context?

The graphics guide mentions class NSGraphicsContext, but the relevant chapter seems like a blind copy/paste from Mac OS X docs, and there's no such class in iPhone SDK.

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about iphone