Tuesday, December 7, 2010

How to modify the AlertView size

 If you want to modify the alertView in your App, you should implement the method: 


- (void)willPresentAlertView:(UIAlertView *)alertView


And then you should set the frame size of the alertview that you want to modify.




- (void) willPresentAlertView:(UIAlertView *)alertView {
            if (alertView == proximityAlert) {
                 
                  [proximityAlert setFrame:CGRectMake(15, 30, 300, 350)];
            }
}


By Reon

No comments:

Post a Comment