The readme for iOS specifies:
What you should definitely not do:
“Done” button on the left side.
“Cancel” button on either side.
“Dismiss” button on either side.
Is this documented anywhere else? A few minutes of looking around and I already found some system apps that do have a cancel button on the left. See screenshots:
|
Clock app
|
Health app
|
Reminders app
|
|
|
|
This makes me believe that a "Cancel" button is OK as long as it's on the left side, meaning destructive action, while the right side means "do some action with the data in this modal".
Also note that all of these modals are in the context of adding data or creating an item, which might also be important when it comes to usage.
The readme for iOS specifies:
Is this documented anywhere else? A few minutes of looking around and I already found some system apps that do have a cancel button on the left. See screenshots:
This makes me believe that a "Cancel" button is OK as long as it's on the left side, meaning destructive action, while the right side means "do some action with the data in this modal".
Also note that all of these modals are in the context of adding data or creating an item, which might also be important when it comes to usage.