I am making a custom table view which has content ‘Static Cells’ and style ‘Grouped’. I want to insert static contents programatically. I can do init the view by:
MyCustomViewController *myCustomViewController = [[MyCustomViewController alloc] init];
[self.navigationController pushViewController:myCustomViewController animated:TRUE];
I want to make 3 sections in the table view, one section having 2 cells and the other two sections having 1 cell. Have populated dynamics cells previously but no idea on how to deal with this creation of sections and varying number of cells within. Any solutions?

This should help you!