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,

enter image description here

and when click on edit following method use delete data

enter image description here

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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -