iOS 开发 UItableView中滑动删除 cell

(UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath在这个函数中设置那个cell设置成 什么样的editingStyle删除,香港服务器,插入,免备案空间,香港虚拟主机,无UITableViewCellEditingStyleDeleteUITableViewCellEditingStyleInsertUITableViewCellEditingStyleNonereturn//[currentURl release];//int i = [indexPath row];ifreturncasecasebreak;casebreak;default//currentURl = [m_URLArray objectAtIndex: indexPath.row];;}elseif(editingStyle==UITableViewCellEditingStyleInsert){// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view}}

不论你在什么时候开始,重要的是开始之后就不要停止

iOS 开发 UItableView中滑动删除 cell

相关文章:

你感兴趣的文章:

标签云: