tags:

views:

63

answers:

1

How do I get UITableView to display as drop-down list?

I want to enable selection from a list of items. Since picker view takes up a lot of space and I have already used once in the same app, I was just wondering if UITableView can be used for displaying a drop-down list as it will take scant space.

And also the list gets populated from a database which lends itself to editing by the user from the interface.

Thanks in advance.

Sayeed

A: 

As I understand, you're trying to do something with your UITableView as the last one in the following image: (simply making a selection of one item)

alt text

I suggest you to push your "drop down" UITableView into your UINavigationController. Apple has a reference guide ready also.

Hope you'll see where I'm trying to pointing you :-)

manu