ho开发者_JAVA技巧w can i display a image in tableview header section iphone ?
Just set its view to an UIImageView :
UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"foobar.png"]];
[[self tableView] setTableHeaderView:imageView];
精彩评论