Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

After rotate top cells bounds wasn't recalculated #177

Open
SergeyAniskin opened this Issue · 0 comments

1 participant

@SergeyAniskin
  1. Rotate to landscape
  2. Scroll to the bottom
  3. Call scrollToObjectAtIndex:0
  4. Rotate to portrait

Top cells bounds and positions wasn't recalculated. Its because if cached subviews. I solved this problem with one line added to layoutSubviews

if (_rotationActive)
{
_rotationActive = NO;

    // After rotation need to update cached subviews array
    [self setSubviewsCacheAsInvalid]; 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.