I have an app that rotates on some (but not all) screens, and I also want to add a UIView as an overlay that shows up on all screens, so I thought I'd add it to the window. The problem now is that when I rotate the device, the screens rotate, but the overlay view does not.
I also tried using two UIViewControllers, one for the normal stuff, one for the overlay view, but I didn't have high hopes for that, and I was right. Only one UIViewController will ever actually rotate.
So how do I rotate the overlay with the interface, hopefully without needing to add code to each view controller that rotates to rotate the overlay with it.