8 Replies Latest reply: Oct 13, 2008 1:41 PM by lawicko
Sodan Level 1 Level 1

can anyone tell me how to select multiple rows and then delete them instead of selecting every row and delete it separately?

The new mail app on iPhone OS 2.0 has this behavior.
In your inbox there is a "edit" button in the navigation bar. Once you tapped it you are in editing mode. There is a select box in every tableview cell in front of the message subject. You can select multiple messages and press delete in the tab bar.

If you want to have a closer look and a picture please follow this link:


So is this a trick only apple is able to do you can we have this "magic" too???
I found nothing on the forums or internet.

Thank you and greetings from Germany

Message was edited by: Sodan

Macbook Pro, Mac OS X (10.5.4)
Solved by uprise78 on Jul 31, 2008 10:11 AM Solved
There is no ready to use control but it can be simulated very easily by simply making a control that consists of 2 images.
Reply by uprise78 on Jul 31, 2008 8:14 AM Helpful

You need to subclass UITableViewCell and override setEditing:animated:. Just add a control with 2 states when editing is YES and remove it when editing is NO.

All replies