bakerframework/baker — pull request #374 by tobiasstrebitzer (2014-11-14 14:47:41+00:00)
Title: Bugfix: layout handling / cell resizing on device rotation

With the recent iOS 8 upgrade, there were a couple of scenarios / sdk-versions where the layout did not properly update on rotation.

Although the cell width / height DID update properly after recent changes, the cell's info and title labels did not.

This pull request will fix this bug by taking into account recent iOS behaviour changes. These mainly concern willRotateToInterfaceOrientation and willAnimateRotationToInterfaceOrientation. also, viewDidLayoutSubviews is used to properly wait with layout invalidation until after the device orientation change was fully registered.

Tested on all device / sdk variations.