I want to create a table view which looks like this image! Who can tell me an example or say how can I do this ?
This is a good tutorial on customising a grouped UITableView, although it does assume that you are proficient with an image editor to create the various custom images.
Create a UITableView and set the style to UITableViewStyleGrouped (you can do this programmatically or in the IB).
Then you want 2 sections, the first has 3 rows and the second has 1 row.
You should probably just look in the documentation for UITableView and check out the same code there to get started, but this is the basic format.
Put this in your init method in your UITableView class
[super initWithStyle:UITableViewStyleGrouped];
I have some something similar using grouped static uitableview for creating setting page take a look here Xcode 6 Tutorial Grouped UITableView using Swift
来源:https://stackoverflow.com/questions/5299539/grouped-tableview