Wrong view size when rotating

Hi,

I have experienced a problem where, if the app is started in portrait and then rotate it to landscape, the view that's currently on the top of the stack is not resized correctly.

To explain a bit more in detail.

In my app I have a menu view controller which shows a bar to the left. This is the root view controller of the stack controller. When the app starts, in the delegate, after setting up the stack controller and this menu, I am creating another view controller and I push it on the stack (let's call it VC-A).

At this point in time I experience the problem explained above. If I start in landscape, then there's no issue. If I start in portrait and then rotate to landscape. VC-A still has the portrait width.

I don't know if this is the correct way of solving this issue. But since I am not very familiar with the code and I needed a fix quick, I've implemented it like this. Feel free to comment or discard the pull request.

Thanks for the great component!