ios - How to enable both swipe to delete and a delete button made in edit mode in UITableView -
by default edit mode on, that's why swipe on cell, delete this,
and when click on edit following method use delete data
right works correctly either 1 of them going use. want use both method delete cell.
please me find code snippet or tutorial link
the natural ios behaviour edit mode in uitableview showing '-' button deletion, thats way recommend use, because of users use deleting on way.
with library, can assign custom buttons , actions both swipe directions. maybe can achieve want.
https://github.com/mortimergoro/mgswipetablecell
i try add custom right uibarbutton custom action, , after pressed, can try force swiping cell both directions, , showing buttons want.
Comments
Post a Comment