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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -