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);
i using cgcontextref draw lines , points in subview, want redraw. how clear screen in subview? thanks.
try this:
cgcontextclearrect(uigraphicsgetcurrentcontext(), rect);
Comments
Post a Comment