iphone - UIView & Graphics Context -


UIView class does not set a graphics reference, so when I'm going to get the current reference, it's in the form of zero Returns I'm in the closed subclassed method of UIView, how can I get graphics references to be able to pull just a line? Any help that is very new in the X-code game will be appreciated.

The graphic reference is set to the drawRect: method, which you have to override, then do all In there your drawing does not call Attract as a word of caution: Directly, when UVVU needs to be displayed, it will be automatically asked. If you want to be forced by a draw, send a setNeedsDisplay message to your UIView.


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -