Specifies whether the alert includes a suppression checkbox, which you can employ to allow a user to opt out of seeing the alert again.
The default value of this property is
NO, which specifies the absence of a suppression checkbox in the alert. Set the value to
YES to show a suppression checkbox in the alert.
By default, a suppression checkbox has the title, “Do not show this message again.” To customize it, use the checkbox’s
title property, as follows:
To create an alert that responds to the selection state of the suppression checkbox, use code like that shown in Listing 1. Figure 1 shows the corresponding alert.
Runs the alert as an app-modal dialog and returns the constant that identifies the button clicked.