0

In Mail after dragging an email to the left, More and Trash appear. This row becomes modal. A tap on anywhere else in the table view is only used to close the email's menu.

How do I do this in my own application?

Steven Fisher
  • 44,462
  • 20
  • 138
  • 192
  • I think this will answer your question; http://stackoverflow.com/questions/2641530/how-to-make-a-cell-on-a-uitableview-not-selectable – Gismay Aug 26 '14 at 20:39
  • Possibly related: http://stackoverflow.com/questions/7699431/uitableviewcell-custom-editingaccessoryview-not-properly-dismissed I'm sure last time I looked at this, you get it for free with standard editing accessories? Are you using a table view controller or a table view in a standard VC? – jrturton Aug 26 '14 at 20:42
  • How about this tutorial: http://www.raywenderlich.com/21842/how-to-make-a-gesture-driven-to-do-list-app-part-13 – Martin Koles Aug 26 '14 at 20:44
  • I'm just going to close this. At this point, it's easy to do in iOS 8. – Steven Fisher Oct 14 '14 at 23:29

1 Answers1

0

This was asked prior to iOS 8. In iOS 8 and later, you can just implement tableView:editActionsForRowAtIndexPath:;

Steven Fisher
  • 44,462
  • 20
  • 138
  • 192