`tableView(_:didSelectRowAt:)` not called for cells containing UITextView
| Originator: | forrc54 | ||
| Number: | rdar://34161354 | Date Originated: | August 30 2017 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 10.0 (15A5361a) |
| Classification: | UI/Usability | Reproducible: | 100% |
Summary: On iOS 11 UITextView added to UITableViewCell prevents UITableViewDelegate from `tableView(_:didSelectRowAt:)` being called. On iOS 10 it was possible to achieve this by settings `isEditable` and `isScrollEnabled` properties to false for UITextView, and `tableView(_:didSelectRowAt:)` calls were skipped only on detected data taps. Steps to Reproduce: Open attached project and run the app. Tap table view cells. Expected Results: Both cells should cause `tableView(_:didSelectRowAt:)` call and show alert view Observed Results: Second cell tap does not cause `tableView(_:didSelectRowAt:)` call Version: 10.0 (15A5361a) Configuration: iOS Simulator Version 10.0 (SimulatorApp-829.4.1)
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!