UIRefreshControl should work directly with UITableView not UITableViewController

Originator:chris.s.patterson
Number:rdar://13765254 Date Originated:4/29/2013
Status:Open Resolved:
Product:iOS SDK Product Version:6.0+
Classification:Enhancement Reproducible:N/A
 
Summary:

In the iOS 6 SDK, Apple introduced the UIRefreshControl, a standard UI element to provide the popular "pull-to-refresh" behavior to refresh the contents of a UITableView.

The current API requires that a UITableViewController be used to link the UITableView and UIRefreshControl.

Many developers use a UITableView within a standard UIViewController subclass instead of subclassing UITableViewController, most often because they need a table view embedded within a larger view hierarchy. UITableViewController requires that its view property point to a UITableView object.

UITableView should have the refreshControl property directly so that a UIRefreshControl can be linked to a UITableView that is embedded in the view heirarchy of any view controller class.

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!