UIAlertview message not Showing properly

2019-09-05 23:20发布

问题:

I'm having a UIAlertView and declared as

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];

the resultant alert was shown as