Ios – UIAlertView: Where the cancel button should be

cancel-buttoniosipadiphoneuialertview

The alert views in iOS system:

  • Install App OTA: the cancel button is on the LEFT.
  • Delete an App: the cancel button is on the RIGHT.

Where the cancel button should be?

Best Answer

From Human Interface Guideline:

In a two-button alert that proposes a potentially risky action, the button that cancels the action should be on the right (and light-colored).

In a two-button alert that proposes a benign action that people are likely to want, the button that cancels the action should be on the left (and dark-colored).