ios7 - How to resize UIAlertView in iOS 7 -
currently i'm using code doesn't work in ios 7. 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 resize in ios 7?
Comments
Post a Comment