tags:

views:

30

answers:

4

hi guys, 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 the upper part?

alt text

+2  A: 

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).

Eiko
+1  A: 

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:)

vodkhang
A: 

I would say the detailcontroller consists of a static UIView on the top and an TableView below

HeikoG
A: 

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.
Jordan