uiviewcontroller - How can I bind a UIView's orientation to that of it's parent view? -


i have uiviewcontroller, toolbar @ top. have few views i'm going adding , removing, don't want them cover toolbar. made uiview, fills area beneath uitoolbar, , adding views thee, , works great.

when rotate device though, first subview rotates view controller, uiview inside of uiview thats inside of uiviewcontroller doesn't rotate!

what can make rotate parent uiview?

ps- if can think of better way i'm trying do, i'm ears!

edit:

to clarify, have uiview subview in ib, , hooked code fine. then, depending on button selected, uiviews subviews removed, , new 1 placed in subview array. use addsubview , removefromsuperview add/remove view uiview child of uiviewcontroller view...


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -