Creating 2 separate buttons instead of table cell

Hi,

I wonder how can I create a custom table cell like in contacts applications where instead of one cell you see 2 separate buttons on the same row? In my case I need to create 2 buttons instead of single row in the state of editing.
Thanks for help,

Nava

iPhone B7, Mac OS X (10.5.3), MacIntel

Posted on Jun 12, 2008 2:22 PM

Reply
6 replies

Jun 15, 2008 8:35 AM in response to navac

Sorry but where do you see 2 separate buttons instead of a simple row in contacts.app. Do you have a different Contacts.app than mine or I misunderstood ?

I am trying do do something like this. A segmentedcontrol-like UI done with buttons. It replaces a table cell, with the same metrics and drawing style a cell has. I had to subclass the cell and the background view so if there is a more simple method, I am interested.

Jun 15, 2008 10:43 AM in response to Alexandre_LeG

Get to the end of the info of some contact. You will see in the end 2 separate buttons on the cell row:
Text Message and Add To Favorites. Or you can see it on the top of the contact info when you press edit, you will see, that the icon on the top become to be a button, which when pressed brings you to an image picker and alongside lays a what seems to be a cell, which when pressed brings you to a screen, where you can edit the contact name... I can't figure out how do they do that. No sample gives a clue...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Creating 2 separate buttons instead of table cell

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.