开发者

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

开发者 https://www.devze.com 2023-01-03 21:10 出处:网络
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 st

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

精彩评论

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