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

by Arnold Burian

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.

You may also like

[ufwp search="agile" items="10" template="list"]

This website uses cookies to improve your experience. Accept Read More