Change UIAlertView Position

Any help in changing the position of the UIAlertView

+3
source share
1 answer

As with any UIView subclass, you can apply the affine transform to a UIAlertView, for example. to move it you can use:

UIAlert *alert = //create alert
alert.transform = CGAffineTransformMakeTranslation( x, y);
[alert show];
[alert release];
+8
source

Source: https://habr.com/ru/post/1771932/


All Articles