-1

am building an iphone app and I have faced a problem when I use non English language to display in UIAlertview. xcode considers the text as code error, so id doesn't recognize the language of the text. to be more specific am trying to display Arabic language. I don't want to turn the button to arabic I just want to show alert view that contain few lines of english and few lines of arabic my code is work fine with english text but it doesn't when I include the arabic text. thanks

4

1 回答 1

0

UIAlertView我认为如果语言可以支持,显示非英语内容是没有问题的 -

[[[UIAlertView alloc]initWithTitle:nil message:@"هذا هو رسالة غير الإنجليزية." delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil] show];
于 2012-09-21T14:59:39.890 回答