iphone - How to erase rectangles drawn in uitableviewcell? -


i subclassed uitableviewcell based on blog http://www.iphonedevx.com/?p=153. can draw columns , place text in grid.

when reload table, text , grid remains there. removed labels using [[cell viewwithtag:k] removefromsuperview]; how removethe grid lines drawn using drawrect:

assuming drawrect: method no longer drawing grid lines, should try calling setneedsdisplay or layoutsubviews on table view forces of cells redraw. reloading table using reloaddata reloads datasource, , don't believe redraws unless there changes model.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -