07
Jun
Use the following code for displaying a custom text on Alert view box.
NSAlert *alert = [[NSAlert alloc] init];
alert.alertStyle = NSWarningAlertStyle;
alert.messageText = @”Alert Heading”;
alert.informativeText = @”Alert Description”;
[alert runModal];
[alert release];




