How to dynamically add rows to a specific UITableView section?

后端 未结 5 1642
Happy的楠姐
Happy的楠姐 2020-12-06 13:23

I am a new IOS Programmer, and i am having a issue.

I have a UITableView with 2 sections, one then is static, and another one is dynamical.

In specific actio

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-06 14:16

    [self.tableView insertRowsAtIndexPaths:@[indexPath1,indexPath2] withRowAnimation:UITableViewRowAnimationTop];

    USE THIS METHOD..

提交回复
热议问题