Instance Property


Specifies whether the alert has a help button.


@property BOOL showsHelp;


Set this property’s value to YES to specify that the alert has a help button, or NO to specify it does not.

When a user clicks an alert’s help button, the alert delegate (delegate) receives an alertShowHelp: message. The delegate is responsible for displaying the help information related to this particular alert.

Clicking an alert’s help button can alternately cause the openHelpAnchor:inBook: message to be sent to the app’s help manager with a nil book and the anchor specified by the helpAnchor property, if any of the following conditions are true:

  • There is no alert delegate.

  • The alert delegate does not implement alertShowHelp:.

  • The alert delegate implements alertShowHelp: but returns NO. When this is the case, an exception is raised if no help anchor is set.

See Also

Configuring Alerts

- layout

Specifies that the alert must do immediate layout instead of lazily just before display.


Indicates the alert’s severity level.


The alert’s accessory view.


The alert’s HTML help anchor.


The alert’s delegate.