Search
Rich's Mad Rants
Powered by Squarespace

Creating iOS 5 Apps Discussion > Page 220 - end editing mode when leaving History view

I noticed that if you leave the History view while in editing mode, it remains in editing mode when you come back to it (including display of a Delete button confirmation on a row if that row's minus button was tapped prior to leaving the view). I did a quick search of the HIG and didn't see anything specific about this, but it is not the expected behavior IMO. I want to end editing mode when the user leaves the view, which can be accomplished by adding the following code to viewDidDisappear:...

self.tableView.editing = FALSE;

December 27, 2011 | Unregistered CommenterScott

Good catch. This would produce a better user experience.

December 27, 2011 | Registered CommenterRichard Warren