What kind of UIView Object Hierarchy does the ContactInfoView possess in the image?

Discussion in 'iOS Programming' started by bengimizrahi, Jun 24, 2008.

  1. bengimizrahi macrumors newbie


    May 24, 2008

    Am I correct in the following observation?

    "The root UIView in this image has a UITableView with style UITableViewStyleGrouped. The UIView in indexPath: (0, 0) is a custom UITableViewCell with two UIView's, one of which an UIImageView and the other UILabel."

    If my observation is correct, how do we hide the rounded white rectangle of UITableViewCell in indexPath: (0, 0)?

    If it is incorrect, how can I produce such a layout myself?
  2. alexgross Guest

    A table can have a header (and a footer too), I guess that's where the image & label are set as subviews. This might be what you're looking for:

    -> create a myHeaderView with image & label and set
    myTableView.tableHeaderView = myHeaderView;

Share This Page