Edit, select value from UITableView on the iPhone
Posted
by Anthony D
on Stack Overflow
See other posts from Stack Overflow
or by Anthony D
Published on 2010-03-25T10:00:11Z
Indexed on
2010/03/26
4:13 UTC
Read the original article
Hit count: 581
I have a UITableView with a list of names, representing server configurations. I want the user to be able to select a server configuration, add a server config, edit a server config, or just cancel out of the view and return to the main view. I'm having a hard time trying to figure out how to achieve all of that functionality in this view.
To select, the user should be able to just tap the server config name and a check will appear next to the name then the user is taken back to the main view automatically (or use a save button instead?). To edit the server config, I would also like the user to be able to tap the server config name and be taken to a detail screen where changes can be made. How can I accomplish both since I want both to be done by tapping the server name (row)? Right now the cancel button seems out of place since the screen is accessed via a UINavigationController.
Any suggestions?
© Stack Overflow or respective owner