views:

34

answers:

0

How can I implement a header row like in Apple's Contacts application on iOS 4?

Features:

  • Transparent background
  • Cell expands to show all information provided
  • Press and hold labels to invoke copy menu
  • Image on the left side
  • When going into edit mode, 3-11 table view cells are revealed with a smooth transition for editing, to the right of the image.

I think I know how to implement most of these features, the ones I'm having trouble with:

  1. Is this a UITableViewCell or a view for a header? What are the main differences? How would you register for the editing event to transition the view?
  2. How do you display all the fields to the right of the image? Are these cells in a single table view or does this header create it's own table view?

Note: this question is similar to this one, except that none of the answers or question mention the specific features of the header row.