Convenience method for initializing an alert view.
- iOS 2.0–9.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The string that appears in the receiver’s title bar.
Descriptive text that provides more details than the title.
The receiver’s delegate or
nilif it doesn’t have a delegate.
The title of the cancel button or
nilif there is no cancel button.
Using this argument is equivalent to setting the cancel button index to the value returned by invoking
addspecifying this title.
Titles of additional buttons to add to the receiver, terminated with
Newly initialized alert view.