Multiple Segues Triggered By Repeatedly Tapping on UITableViewCell

Originator:logan.b.jones
Number:rdar://26247421 Date Originated:12-May-2016 10:28 AM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 9.3.1
Classification:Other Bug Reproducible:Rarely
 
Imagine the most generic and standard UITableView storyboard:
- ScreenOne has a UITableView for showing items.
- ScreenTwo is a detail view for an item.
- Rig up a push segue from the UITableViewCell on ScreenOne to the UIViewController of ScreenTwo.

Run this, tap on a cell, and ScreenTwo’s detail view pushes over as expected; great.

Very rarely, when the OS is a bit bogged down (ie. the CPU is under heavy load), if you tap the cell on ScreenOne once, twice, multiple times; it takes a small moment for UIkit to react, and when it does, *several* ScreenTwo instances get pushed onto the nav stack.

(see attached video for a live app example; or this Youtube video: https://www.youtube.com/watch?v=i5fFdmKNrKU )

This can be remediated by preventing user interaction on the table view or cell after the first tap; but this is a crude workaround.

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!