views:

232

answers:

2

What's the difference between an Detail Disclosure Button and an Disclosure Indicator?

For me, both things are the exact same thing, just that they look a little bit different. The first is a blue round button with an chevron to the right. The second is an simple chevron to the right. Both things mean the same, to me. They mean "more". But someone claimed that Apple will reject the app if the one or the other is used in the wrong situation.

Does someone have an example when the blue Detaul Disclosure Button is used, and when the simple Disclosure Indicator one is used?

A: 

Once you use the detail disclosure button it acts like a button.
Meaning that the user has to tap this button in order to perform some action (you can catch this tap by implementing the - (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath method of the UITableViewDelegate).

If you use the indicator then it just draws the arrow on the right and you will have to implement the - (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath in order to catch the tap on the entire table cell.

Hope it helps...

Michael Kessler
Thanks. In which situations would I have to use which one? I see that Apple is using the simple chevron thing in Settings, which reveals "details". But then, "Detail Disclosure" is the same thing for me... makes not much sense why there's this difference.
dontWatchMyProfile
I think that you may use the button approach when you may have different actions for disclosure button tap and table cell tap. Good example for this is the Wi-Fi settings in iPhone's Settings. When you have a list of available networks each cell has 2 actions: (1) cell selection selects the network and (2) disclosure tap opens the network details.
Michael Kessler
+1  A: 

From Apple's iPhone Human Interface Guidelines (a must-read if doing iPhone development):

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.

Brad Larson