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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -