willDisplayHeaderView
全部标签 我正在尝试将tableViewHeader的文本标签垂直居中。这是来自-(void)tableView:(UITableView*)tableViewwillDisplayHeaderView:(UIView*)viewforSection:(NSInteger)section:的相关代码-(void)tableView:(UITableView*)tableViewwillDisplayHeaderView:(UIView*)viewforSection:(NSInteger)section{if(![viewisKindOfClass:[UITableViewHeaderFoote
为什么在TableViewController中没有调用willDisplayHeaderView?-(void)tableView:(UITableView*)tableViewwillDisplayHeaderView:(nonnullUIView*)viewforSection:(NSInteger)section{//}编辑:和heightForHeaderInSection-(CGFloat)tableView:(UITableView*)tableViewheightForHeaderInSection:(NSInteger)section{//}弃用?XCODE版本9.0
-(void)tableView:(UITableView*)tableViewwillDisplayHeaderView:(UIView*)viewforSection:(NSInteger)section{[viewvChangeBackgroundToCyan];}之后[self.delegateForTableController.tvDelegatedinsertSections:[NSIndexSetindexSetWithIndex:ip.section]withRowAnimation:UITableViewRowAnimationRight];如何称呼他们?