Creates and runs a critical alert panel.
- macOS 10.0–10.10Deprecated
Creates a critical alert panel that warns the user of some critical consequence of a requested action; the panel lets the user cancel the action and may allow the user to modify the action. It then runs the panel in a modal event loop.
The panel presented to the user is badged with a caution icon. Critical alerts should be used only as specified in the "Alerts” section of the UI Element Guidelines: Windows chapter of macOS Human Interface Guidelines.
The arguments for this function are the same as those for