Accessory Buttons

When you added the segue to the Prototype cell to allow for navigation to the detail screen, a gray arrow was added to the right side of the cell. This is a Disclosure Indicator, which tells the user that more detail will show up when the row is tapped. You can choose from several Accessory buttons to add to the row, and you have the option of taking different actions whether the Accessory buttons or the row itself is tapped.

To illustrate how this works, you show the user an Alert View when the row itself is tapped, and the detailed editing screen when a Detail Disclosure Accessory Button is tapped.

1. Change the Accessory button in the Attributes Inspector for the Prototype Cell to a Detail Disclosure. The typical functionality ...

Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.