Created
February 19, 2014 04:01
-
-
Save arzola/9085845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section | |
{ | |
UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 30, 60)]; | |
headerView.backgroundColor = [UIColor clearColor]; | |
UIView *label = [[UIView alloc] initWithFrame: CGRectMake(0,0, 50, 50)]; | |
label.backgroundColor = [UIColor yellowColor]; | |
label.autoresizingMask = UIViewAutoresizingFlexibleRightMargin; | |
[headerView addSubview:label]; | |
return headerView; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment