How to redraw a UITable or UICollection with change of device orientation iOS

Check out How to redraw a UITable or UICollection with change of device orientation iOS by JR. Here is an excerpt:

Tables and collections need to be redrawn when you change from portrait to landscape. Listen for the event, then do the redraw like this.

#pragma mark - Orientation

- (void)addOrientationObserver
{
    [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];

   ...

The full article is available here.