Grouped TableView
I want to create a table view which looks like this image! Who can tell me an exa开发者_运维知识库mple or say how can I do this ?
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.
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.
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
精彩评论