代码之家  ›  专栏  ›  技术社区  ›  dontWatchMyProfile

如何以普通样式显示UITableView中行的详细信息披露按钮?

  •  0
  • dontWatchMyProfile  · 技术社区  · 14 年前

    有没有一个快速的方法让这个蓝色的细节披露按钮在细胞?

    1 回复  |  直到 14 年前
        1
  •  3
  •   Ole Begemann    14 年前
    cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
    

    请记住,detaildisclosure按钮应该调用与通过点击单元格调用的操作不同的操作。你可能想用 UITableViewCellAccessoryDisclosureIndicator 相反。阅读人机界面指南,了解两者之间的区别。