UIAlertview消息未正确显示

时间:2013-10-10 06:13:50

标签: objective-c cocoa-touch ios5 ios6 uialertview

我有UIAlertView并声明为

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"NEW_ALBUM" message:@"ENTER_ALBUM_NAME" delegate:self cancelButtonTitle:@"CANCEL" otherButtonTitles:@"Ok",nil];
alert.tag = 999;
alert.alertViewStyle = UIAlertViewStylePlainTextInput;
[alert show];
[alert release];

结果警报显示为

enter image description here

0 个答案:

没有答案