ios - CGContextRef draw lines and points,how to clear screen? -


i using cgcontextref draw lines , points in subview, want redraw. how clear screen in subview? thanks.

try this:

 cgcontextclearrect(uigraphicsgetcurrentcontext(), rect); 

Comments

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -