Change UITableView section header/footer WHILE RUNNING the app?

后端 未结 4 646
梦谈多话
梦谈多话 2020-12-24 13:48

I\'m facing a problem I cannot resolve... I have a grouped table whose section header and section footer get displayed correctly upon launch thanks to

- (NSS         


        
4条回答
  •  囚心锁ツ
    2020-12-24 14:02

    Use this line in your code where you want to change the title:

        [[self theTableViewToChangeItsHeader]reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade];
    

提交回复
热议问题