What are the exact circumstances in which I can reuse a UITableViewCell?
What are the exact ci开发者_JAVA技巧rcumstances in which I can reuse a cell (using dequeueReusableCellWithIdentifier
in the UITableView class)?
That a cell is available for reuse with the identifier you pass in. Your only requirement is to use the same identifier for the same type of cell you want.
Just remember, if one wasn't available for reuse, you need to create one.
精彩评论