Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Position of UIAlertView

Tags:

iphone

Any one help to change the position of UIAlertView

like image 368
arunkumar.p Avatar asked Jan 21 '23 05:01

arunkumar.p


1 Answers

As for any UIView subclass you can apply affine transform to UIAlertView, e.g. to move it you can use:

UIAlert *alert = //create alert
alert.transform = CGAffineTransformMakeTranslation( x, y);
[alert show];
[alert release];
like image 171
Vladimir Avatar answered Jan 31 '23 02:01

Vladimir