我想制作一个左对齐的UIAlertView,带有多行文本,就像公告列表一样,看起来应该像下面这样:
- 第一行
- 第二行
- 第三行
以下是我目前拥有的内容:
alert = [[UIAlertView alloc] initWithTitle: @"How to use buttons"
message: @"line 1. line 2, line 3 "
delegate: nil
cancelButtonTitle: @"OK"
otherButtonTitles: nil];
我也想把警告视图的颜色改为红色。
[NSString stringWithFormat:@"%C Line n", (unichar) 0x2022]
。 - uɥƃnɐʌuop