title: ios 7 uitabbarcontroller subview bounds incorrect after rotation
body: <p>I've been trying to update my app for iOS 7. It has worked fine on ios 5 &amp; 6. I have created an example of what is happening. I have a uitabbarcontroller as the root view and a standard uiviewcontroller as a child. in said child, I have 2 switches, one near the bottom-center and one right-aligned and vertically centered. The app supports all orientations. When I rotate from landscape to portrait or vice-versa, one of the switches no longer works. the bounds of the child view but the bounds of the superviews seem to correspond to the old orientation, causing the switch to be visible but outside of the parent view. why is this happening and even more importantly, how do i fix it?</p>
  
  <p>Pics attached, grey background is the superview of the tab bar controllers child view.</p>
  
  <p><img src="https://i.stack.imgur.com/xeFMm.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/PJQ1O.png" alt="enter image description here"></p>