Pull to refresh UITableView without UITableViewController

前端 未结 6 666
借酒劲吻你
借酒劲吻你 2020-11-29 15:11

I\'m trying to implement a pull to refresh feature in a UITableView within a UIViewController. I can\'t use a UITableViewController because I want the UITableView to be a sm

6条回答
  •  清酒与你
    2020-11-29 15:42

    It seems that if you create the UIRefreshControl inside the viewController's loadView method everything works fine. The UIRefreshControl behaves as it should. Tested with iOS 7.1 and iOS 8.2

提交回复
热议问题