Reload sections in UITableView

后端 未结 6 2383
执笔经年
执笔经年 2021-02-13 11:34

I am writing an app that notifies user when its time to take his/her medicine. The label at the top of the page shows a date and the tableView gets populated with m

6条回答
  •  不思量自难忘°
    2021-02-13 12:13

    Swift 3

    NSIndexSet is nothing special

    tableView.reloadSections([1, 2, 3], with: .none)
    

    It's just an array. Crazy.

提交回复
热议问题