Pull to refresh UITableView without UITableViewController

前端 未结 6 677
借酒劲吻你
借酒劲吻你 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 16:04

    I've implemented EGORefreshTableHeaderView with a UIViewController and a simple table view, the trick is that a in the places where EGO takes a scroll view as a parameter, if you look the table view itself inherits from scroll view.

    It only requires that and a few extra connections :)

    Hope this helps.

提交回复
热议问题