iphone - Scale Entire UIView Proportionately -


i have base uiview takes entire iphone screen when horizontal. when device rotated portrait, want view scale down , in 2/3 size , center on screen shown:

image: http://img25.imageshack.us/img25/3281/rotateqx.jpg

i can't life of me figure out though. i've messed autoresizing, seems work if each subview, , though scale okay, because not elements centered don't end in right location in portrait mode.

and far setting uiviewcontentmode, can work great individual elements, not view whole, , because i'm implementing customized drawing methods, can't set elements individually. placement issue comes effect again.

thanks.

have tried adjusting view's transform property? if use cgaffinetransformscale(), should effect want.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -