在ios 7中如何使用标准警告图标显示警报?

new*_*ios 3 xcode ios

我需要在标题前显示带有标准警告图标的警报.是否可能是简单的方法(即一些标准行为)或我必须实现自定义UIAlertView.

KID*_*dAe 8

"\ u26A0"应显示警告图标,将其放在标题之前

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"\u26A0 title" message:@"message" delegate:nil cancelButtonTitle:@"ok" otherButtonTitles:nil];
[alert show];
[alert release];
Run Code Online (Sandbox Code Playgroud)

结果: