当我尝试在 UIAlertView* 中显示西里尔字符或特定字符(如“★”)而不是消息时,它会显示一些随机字符(可能是 1,可能是 10..)。
例子:
[[[[UIAlertView alloc] initWithTitle:@"Тест тема (cyr)"
message:@"Message with char ★"
delegate:self
cancelButtonTitle:@"Ок (cyr)"
otherButtonTitles:nil] autorelease] show];
结果我有:
Title: " 5 A B
Message: M
Button: :