0

I want to create a view in my app where the user can contact me. At first glance I can see it's a grouped table view, but I'm unsure about the top part?

How do I get the Logo/Thumbnail there along side the big text and small text? - I'm assuming it's a custom tableview cell?

Also, what about adding the buttons into a table cell? all evenly spaced apart? Would this also be through a custom table view cell? (designed in IB)

One last thing, is how would I put these two cells in with the rest?

halfer
  • 19,824
  • 17
  • 99
  • 186
Andyy
  • 485
  • 8
  • 27

1 Answers1

2

My guess is that the green image and the three buttons on top (call, email, visit website) are all subviews of the table's header view. You can easily do that, if you go to Interface Builder and drag a UIView to the top part of your UITableView. Then, you will need custom cells for the next part of the interface. One easy way is to make them all in IB and then create outlets and hook them to your table. Read the Table View Programming Guide for iOS regarding more alternatives for custom cells. If you need more customization, start from this excellent article. Finally, regarding the bluish rounded background of number "20", have a look at this SO question. Good luck!

Community
  • 1
  • 1
phi
  • 10,634
  • 6
  • 53
  • 88
  • I just had a fiddle with IB, turns out i can pretty much design the entire top with a UIView as a Header and just put a custom TableView cell in there. Thought it was gonna be a lot harder than that aha. thanks again! – Andyy May 21 '11 at 13:21