开发者

Table view function for select row

I am new for iPhone development. I want to make table view in which开发者_Python百科 i have shown list of categories. When user select on any row then appear a right sign or UITableViewCellAccessoryCheckmark. And the text of that row save in a string. How do that in table view? Which method or function used?


When you configure a table view, you give it a delegate that implements the UITableViewDelegate protocol. One of the many messages sent to the delegate is -tableView:didSelectRowAtIndexPath:. As the creator of the delegate, you can implement this method to take whatever action you like when the user selects a row in the table.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜