Last Updated: February 25, 2016
·
1.088K
· jorge__galindo

Easy method for add image to the footer and the header in UITableView

UIImageView * tableHeader = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"header.png"]];
[areasTableView setTableHeaderView:tableHeader];
UIImageView * tableFooter = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"footer.png"]];
[areasTableView setTableFooterView:tableFooter];

1 Response
Add your response

(Joke) Hey! you forget deobfuscate the code first!

over 1 year ago ·