iPhone: How to use a UITableView as a drop-down menu
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
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)
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 :-)
精彩评论