UITableView has different selection behavior on iPhone and iPad
| Originator: | nicholas.helke | ||
| Number: | rdar://25164113 | Date Originated: | 03/15/2016 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.2.1 |
| Classification: | UI/UX | Reproducible: | Always |
Summary: This issue is fully described by http://stackoverflow.com/q/30190887/344544. I have copied the relevant steps into this radar for your convenience. Steps to Reproduce: Starting from a state, where one cell is already selected (and the table view only allows single selection). Cell A is the selected cell and Cell B is the new cell that will be selected. On iPhone: Touch down: Cell B -> set highlighted to YES Touch up: Cell B -> set highlighted to NO Cell A -> set selected to NO Cell B -> set selected to YES On iPad: Touch down: Cell B -> set highlighted to YES Cell A -> set selected to NO Touch up: Cell B -> set highlighted to NO Cell B -> set selected to YES Cell B -> set selected to YES Expected Results: Expect only one cell to be highlighted at a time. Actual Results: The result is, that on the iPhone the currently selected cell stays selected until the touch ends. On the iPad the currently selected cell get unselected during the touch.
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!
I can still reproduce this issue with the WWDC seed of Xcode 8 and iOS 10 sim.
Apple Developer Relations 14-Jun-2016 09:05 AM
We believe this issue is resolved in the latest iOS 10 beta.
Please test with the latest iOS beta. If you still have issues, please update your bug report with any relevant logs or information that could help us investigate.
https://developer.apple.com/download