jjzjj

tableViewHeaderFooterView

全部标签

ios - 在 tableView : willDisplayHeaderView: forSection: 的 UITableViewHeaderFooterView 中垂直居中 textLabel

我正在尝试将tableViewHeader的文本标签垂直居中。这是来自-(void)tableView:(UITableView*)tableViewwillDisplayHeaderView:(UIView*)viewforSection:(NSInteger)section:的相关代码-(void)tableView:(UITableView*)tableViewwillDisplayHeaderView:(UIView*)viewforSection:(NSInteger)section{if(![viewisKindOfClass:[UITableViewHeaderFoote