目前我使用此代码但在iOS 7中无效。它在iOS 6中运行良好:
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:title message:nil delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:Nil, nil];
[alertView show];
- (void)willPresentAlertView:(UIAlertView *)alertView {
[alertView setFrame:CGRectMake(alertView.frame.origin.x, alertView.frame.origin.y, alertView.frame.size.width, 200)];
}
我们如何在iOS 7中调整大小?