Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically create a grouped-style UITableView

I am creating tableView programmatically i want to set tableView style group but how to give that tableView alloc has only frame how we can set this values.

like image 593
user1567956 Avatar asked Mar 26 '26 15:03

user1567956


1 Answers

refer a following code.

UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,your_width,your_height) style:UITableViewStyleGrouped];
like image 134
bitmapdata.com Avatar answered Mar 29 '26 06:03

bitmapdata.com