开发者

How to Edit table view cell

开发者 https://www.devze.com 2023-02-24 08:00 出处:网络
My table view contains detail disclosure button and disclosure indicator buttons. i want to delete some rows according to my necessity. So, i am using the tableView editing delegate

My table view contains detail disclosure button and disclosure indicator buttons. i want to delete some rows according to my necessity. So, i am using the tableView editing delegate

and setting its property to Yes. sel开发者_StackOverflowf.tableView.editing = YES;

When the above statement is added to my code detail disclosure button are not visible.

Can anyone help me in this?

Thanks in advance


If you want the cells' accessory views to be visible during editing, set your cells' editingAccessoryType or editingAccessoryView properties accordingly in tableView:cellForRowAtIndexPath:.

0

精彩评论

暂无评论...
验证码 换一张
取 消