How to customize UIAlertView? Will Apple approve it?
问题 I am using a custom UIAlertView with UITextField to get password from the user. I have been told that this custom view may cause my App to get reject by Apple; is that correct? If so, what is the appropriate replacement for my custom control? 回答1: You can add a textfield to your UIAlertView UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"title" message:@"msg" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:nil]; UITextField *txtField = [[UITextField alloc]