First,I customized the UITableViewCell
and put a new label
into it;
Then I swiped the row and deleted it (not the last one), and it to be deleted. unfortuna开发者_JS百科tely,the last one moved down and covered the new one appeared in the window,but leave a blank row, just like the image below;
Make sure that:
- numberOfRowsInSection is properly implemented - maybe you are getting the number of rows from an [array count] that still has the NSString in question;
- You are calling reloadData
精彩评论