Rotation issue part 1 and part 2 #12

ultragtx opened this Issue Mar 2, 2013 · 0 comments


None yet
1 participant

ultragtx commented Mar 2, 2013

Assume there are 100 books

Vertical: 3 books a row, 34 rows total
Landscape: 4 books a row, 25 rows total

Build and run the app in the simulator, turn on slow-motion animation.

Part 1

When in vertical mode, scroll to the bottom, then rotate to landscape mode, during the slow animation, you won't see any shelf, just the background, when the rotate animation end, the view will scroll quickly from row 34 to row 25. This is not the visual effect we want.

 2013-03-02 3 12 23
 2013-03-02 3 13 28

Before the rotate animation, jump to row 25 without animation, then the visual effect will be better.

No matter where I try to set the contentOffset without animation and/or disable UIView animation, it will still animate during the rotation.

Part 2 (This has been fixed)

Do the same thing in part 1, and then rotate back to vertical, you will see in the bottom shelf, the the right side board of the shelf behave differently as other shelfs

The reused shelf used to be a vertical shelf, so the side board's position will not change from the landscape mode to the vertical mode.

Tried to reset the frame of all reused shelf and relayout, but still behave like before.

 2013-03-02 3 12 36

ultragtx added a commit that referenced this issue Apr 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment