ios - 详细信息披露按钮和披露指示器有什么区别?

标签 ios objective-c swift uitableview uiaccessoryview

详细信息披露按钮和披露指示器有什么区别?

对我来说,两者完全相同,只是它们看起来有点不同。第一个是蓝色圆形按钮,右边有一个人字形。第二个是右边的简单人字形。这两件事对我来说意义相同。他们的意思是“更多”。但有人声称,如果在错误的情况下使用其中一个或另一个,Apple 将拒绝该应用程序。

有人有使用蓝色详细信息披露按钮以及使用简单披露指示器的示例吗?

最佳答案

来自 Apple 的 iPhone Human Interface Guidelines (做 iPhone 开发的必读):

Disclosure indicator. When this element is present, users know they can tap anywhere in the row to see the next level in the hierarchy or the choices associated with the list item. Use a disclosure indicator in a row when selecting the row results in the display of another list. Don’t use a disclosure indicator to reveal detailed information about the list item; instead, use a detail disclosure button for this purpose.

Detail disclosure button. Users tap this element to see detailed information about the list item. (Note that you can use this element in views other than table views, to reveal additional details about something; see “Detail Disclosure Buttons” for more information.) In a table view, use a detail disclosure button in a row to display details about the list item. Note that the detail disclosure button, unlike the disclosure indicator, can perform an action that is separate from the selection of the row. For example, in Phone Favorites, tapping the row initiates a call to the contact; tapping the detail disclosure button in the row reveals more information about the contact.

关于ios - 详细信息披露按钮和披露指示器有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3078665/

相关文章:

ios - Swift - Firebase Auth with Microsoft Graph(重定向 URL 问题)

ios - Swift Associative Enum 在 fallthrough 中使用参数

ios - AlamoFire 4.X 中的 URL 编码

ios - 如何在 iOS/Swift 上等待一个函数结束,然后再开始第二个函数

ios - 在 NSOperationQueue 和 mainQueue 之间传递数据

ios - 水平滚动时如何防止 UITableView 内容被剪切?

objective-c - 'UIView' 没有可见的@interface 声明选择器 'addSubView:'

ios - 具有固定宽度和 1 行的 UILabel,内容有时与省略号的训练不完全一致

ios - 使用 Cocoa API 时,所有代码都在运行循环中运行吗?

arrays - Swift:从 View 层次结构创建平面 View 数组