Returns an alert panel to display a critical message.
- macOS 10.0–10.10Deprecated
NSPanel that can be used to set up a modal session. No button is displayed if
nil. When you’re finished with the panel created by this function, you must dispose of it by passing it to
The arguments for this function are the same as those for the
NSGet. For more information on using a panel in a modal session, see
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.