anyone can give me an idea of what are the ios ui components used in the picture below?
especially for the 2nd picture, the lower part is a grouped table (correct me if i'm wrong), what about 开发者_JAVA技巧the upper part?

Looks like a custom view - either composed (self-painted) in drawRect: or composed of an image and a couple of labels. I suppose it's the latter (because of the "..." to shorten the text).
You can do it easily using IB.
You drag a uiview in the topview and a tableview in the bottom view. Then, inside the top UIView, you can drag whatever you want:)
List Controller:
- UINavigationController with UITableView as RootViewController and a UITabBar
Detail Controller:
- UITableViewController with 3 Sections (UITableViewStyleGrouped).
The Picture above uses:
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
which returns a UIView to use as the section header for the first section. This UIView has an UIImageView and a few UILabels.
Photo Controller:
- UIViewController with a UIImageView placed on top.
I would say the detailcontroller consists of a static UIView on the top and an TableView below
加载中,请稍侯......
精彩评论