Any idea on how to reset a UITableView?
UITableView
I want to display a new set of data at the press of a button and also remove all the subviews from the cell\'s
If you want to remove all the subviews of a UITableViewCell you can use this code:
NSArray* subviews = [cell.contentView subviews]; for (UIView* subview in subviews) { [subview removeFromSuperview]; }
Using the code of @leftspin