|
1 2 |
CGAffineTransform moveDown = CGAffineTransformMakeTranslation(0.0,-100.0); // By default, the custom alertView position will be a little to the top of the screen. So we have to translate it down to make it center [alert setTransform: moveDown]; |
// Here alert is the UIAlertView object
Incoming search terms:
- uialert customer position
- uialertview center
Tagged with: alert • alertview • center • position • Positioning • top • Translate
Filed under: Box 2d • Cocoa • Cocos2d • iPad • iPhone • Objective C • Tips and Tricks
Like this post? Subscribe to my RSS feed and get loads more!




Leave a Reply