Is there a way to force a refresh of just a single header in UITableView?

后端 未结 4 962
半阙折子戏
半阙折子戏 2021-02-14 00:11

I have a UITableView where I want to force a refresh of just a specific section header row, not the data rows. For example, refresh the header for section 3. I know how to reloa

4条回答
  •  青春惊慌失措
    2021-02-14 00:43

    If the header is a custom UIView, then you can just call setNeedsDisplay on the UIView rather than on the UITableView.

提交回复
热议问题