How to set the UITableView Section title programmatically (iPhone/iPad)?

前端 未结 8 2098
太阳男子
太阳男子 2020-12-07 10:54

I\'ve created a UITableView in Interface Builder using storyboards. The UITableView is setup with static cells and a numb

8条回答
  •  执笔经年
    2020-12-07 11:51

    Note that -(NSString *)tableView: titleForHeaderInSection: is not called by UITableView if - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section is implemented in delegate of UITableView;

提交回复
热议问题