Я использую CGRectMake в своем коде, но это не влияет на следующий код
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
if(section==1){
UILabel *v=[[UILabel alloc]initWithFrame:CGRectMake(100, 0, 150, 10)];
[v setBackgroundColor:[UIColor clearColor]];
[v setText:@"Apartments that matches your search ..."];
[v setTextColor:[UIColor whiteColor]];
[v setFont:[UIFont systemFontOfSize:13.0f]];
return v;
}
return NULL;
}
Я хочу UILabel в центре TableView, пожалуйста, помогите