0

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?

Qantas 94 Heavy
  • 15,750
  • 31
  • 68
  • 83
Jugal K Balara
  • 917
  • 5
  • 15
  • possible duplicate of [UIAlertView addSubview in iOS7](http://stackoverflow.com/questions/18729220/uialertview-addsubview-in-ios7) – Wain Apr 24 '14 at 09:49
  • Sounds different but the issue is the same, it's a private class so use a 3rd party solution if you need added functionality. – Wain Apr 24 '14 at 09:49
  • My issue in same class but in these used a private class ... It's work in iOS6 but not in iOS7 – Jugal K Balara Apr 24 '14 at 09:56
  • So you need to not use `UIAlertView` and use something else – Wain Apr 24 '14 at 09:57

0 Answers0