1
加粗我搜索了這一點,唯一的解決方案似乎是從UIAlertViewDelegate派生。我不想這樣做只是爲了消除粗體文本。爲什麼我所有的UIAlertView標籤/文本默認在iOS 8
,我使用彈出警告我查看代碼如下:
NSString* errPrompt = @"some text here, anything that will not show bold :)";
UIAlertView* alert = [[UIAlertView alloc] initWithTitle:title
message:errPrompt
delegate:nil
cancelButtonTitle:[self getUiText:"OK"]
otherButtonTitles:nil];
[alert show];
感謝流體快速反應!我現在只是將標題設置爲@「」。 – neuman8 2014-10-07 18:25:03