开发者

How to display an detail disclosure button for the rows in an UITableView in plain style?

How 开发者_Go百科to display an detail disclosure button for the rows in an UITableView in plain style? I want that when a row is tapped, the next level in the navigation is pushed on the navigation stack.

Is there a quick way to get this blue detail disclosure button in the cells?


cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;

Keep in mind that the detail disclosure button is supposed to invoke a different action than the action that is invoked by tapping the cell. You might want to use UITableViewCellAccessoryDisclosureIndicator instead. Read the Human Interface Guidelines for the difference between the two.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜