Table refresh control hidden when reusing table to display search results

Originator:nate.whittaker
Number:rdar://40553780 Date Originated:May 25, 2018
Status:Open Resolved:
Product:iOS Product Version:11.3.1
Classification: Reproducible:Always
 
Area:
UIKit

Summary:
A table with a refresh control provides no visual feedback (spinner is not visible) if it's being re-used to display search results from a search controller that's embedded in the navigation bar.

Steps to Reproduce:
1. Run the project on a device.
2. On the Root View Controller view, tap the search bar to make it the first responder.
3. Swipe down on the table view until haptic feedback is felt.

Expected Results:
Unsure. I'd expect either:
- The refresh control's spinner becomes visible somewhere, or
- The table view snaps back and the refresh control does not invoke its valueChanged target.

Actual Results:
The table view snaps back and the refresh control's valueChanged target is invoked, but the refresh control's spinner never becomes visible.

Version/Build:
Xcode 9.3.1 (9E501)
iOS 11.3.1 (15E302)

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!