开发者

how can i load a display in tableview header section iphone?

开发者 https://www.devze.com 2022-12-25 06:39 出处:网络
ho开发者_JAVA技巧w can i display a image in tableview header section iphone ?Just set its view to an UIImageView :

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];
0

精彩评论

暂无评论...
验证码 换一张
取 消