UITableView's refresh control not visible on iOS 10 when beginRefreshing is called in viewWillAppear

Originator:lextar
Number:rdar://27468436 Date Originated:Thu, 21 Jul 2016 10:42:33 GMT
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 10.0 [14A5309d]
Classification:UI/Usability Reproducible:Always
 
Summary:
In my code, I'm calling the beginRefreshing method of a UITableViewController's refreshControl in viewWillAppear.

On iOS 9, the refresh control shows as expected. On iOS 10, the refresh control is not visible.

Steps to Reproduce:
1. Run the attached sample project on iOS 10
2. Tap on the "Tap Me!" button


Expected Results:
A table view controller is pushed onto the navigation stack. It should show a refresh control for 2 seconds.

Actual Results:
The refresh control is not visible.

Version:
iOS 10.0 [14A5309d]

Notes:
If you run the same code on iOS 9.3.3, it works as expected.

Configuration:
iPhone 6s (also happens on iPad Pro and Simulator)

Attachments:
'RefreshControlIssue.zip' was successfully uploaded.

Duplicates

Number Status Originator Product Title
rdar://27516269 Duplicate/27468436 jpmfagundes iOS SDK UIRefreshControl appears blank when called from viewDidLoad or viewWillAppear

Comments

Still broken in the iOS10 GM

Unfortunately there has been no change in the GM, and I'm yet to find any workarounds!

For some reason, not just UIRefresControls, but also some UIActivityIndicatorViews are affected in my codebase.

Still Broken on beta 8

This has been bugging me since the begging and it's still not corrected. Hopefully this is fixed in the GM.

By justin.stanley at Sept. 2, 2016, 2:51 p.m. (reply...)

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!