Currently I'm using this code but it doesn't work in iOS 7. It works fine in 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)];
}
How can we resize in iOS 7?