UITableView可编辑(可重排),没有单元格可删除 [英] UITableView editable (rearrangeable) without cells beeing deletable
本文介绍了UITableView可编辑(可重排),没有单元格可删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否有办法让用户能够重新排列(移动)单个TableViewCells的方式使UITableView可编辑,但不显示Remove-Cell特征。
I was wondering if there is a way to make a UITableView editable in a way where the user is able to rearrange (move) individual TableViewCells, BUT without the "Remove-Cell"-Feature to appear.
感谢您的帮助
sam
推荐答案
您是否尝试过实现editingStyleForRowAtIndexPath方法并返回UITableViewCellEditingStyleNone?
Have you tried implementing the editingStyleForRowAtIndexPath method and returning UITableViewCellEditingStyleNone?
这篇关于UITableView可编辑(可重排),没有单元格可删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文