How to get the graphics context of an UIView?
Posted
by mystify
on Stack Overflow
See other posts from Stack Overflow
or by mystify
Published on 2010-03-30T08:17:13Z
Indexed on
2010/03/30
8:23 UTC
Read the original article
Hit count: 455
iphone
For example, I want to draw something directly to an UIView. I need an CGContextRef, but I don't want to make a new one since that would eat up too much memory. Can I obtain the CGContextRef from an UIView?
© Stack Overflow or respective owner