Reputation: 1350
I need to display an alert with standard warning icon before the title. Is it possible easy way (i.e. some standard behavior) or I have to implement custom UIAlertView.
Upvotes: 3
Views: 1584
Reputation: 2722
"\u26A0" should display an alert icon, put it before your title
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"\u26A0 title" message:@"message" delegate:nil cancelButtonTitle:@"ok" otherButtonTitles:nil];
[alert show];
[alert release];
Upvotes: 8