Two finger tap to enter editing mode fails to call setEditing on table view controller
| Originator: | curtis.clifton | ||
| Number: | rdar://32794127 | Date Originated: | 15-Jun-2017 10:17 AM |
| Status: | Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | 11.0 (15A5278f) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: With a table view controller configured for single selection when not editing and multiple selection when editing, two-finger tapping a row begins editing and selects the tapped row. However, the setEditing(_:, animated:) method is not called and the view controller’s editButtonItem fails to toggle from Edit to Done. Steps to Reproduce: 1. Build and run the attached project 2. Tap the Edit button 3. Notice that the Edit button switches to “Done”, the trash button in the toolbar is enabled, and multiple select mode is entered. 4. Tap Done 5. Two finger tap a row Expected Results: The Edit button switches to “Done”, the trash button in the toolbar is enabled, multiple select mode is entered, and the tapped row is selected. Actual Results: Multiple select mode is entered and the tapped row is selected, but the Edit button does not switch to Done and the trash button is not enabled. Version: 11.0 (15A5278f) Notes: The enabled state of the trash button is set in ViewController.updateToolbarItems(), called from setEditing(_:, animated:).
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!