alert = [[UIAlertView alloc] initWithTitle:@"Enter Student Name" message:@"" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Save", @"Save and Add", nil];
alert.tag = 1;
alert.alertViewStyle=UIAlertViewStylePlainTextInput;
[alert show];
它在肖像模式下工作得很好,但在风景中我UITextfield
走出了屏幕。现在我想将 alertView 框架向下移动一点,以便它可见。