How do I get the delete button to show when swiping on a UITableViewCell
? The event is never raised and the delete button never appears.
Ios – UITableViewCell, show delete button on swipe
cocoa-touchiosuikituitableview
Related Question
- Ios – Loaded nib but the ‘view’ outlet was not set
- Objective-c – UITableViewCell swiped but delete button doesn’t appear
- Ios – How to get the screen width and height in iOS
- Ios – performSelector may cause a leak because its selector is unknown
- Ios – Swipe to Delete and the “More” button (like in Mail app on iOS 7)
- Ios – Add swipe to delete UITableViewCell
- Ios – Xcode 6: Keyboard does not show up in simulator
Best Solution
During startup in
(-viewDidLoad or in storyboard)
do:Override to support conditional editing of the table view. This only needs to be implemented if you are going to be returning
NO
for some items. By default, all items are editable.