Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rotation issue part 1 and part 2 #12

ultragtx opened this Issue · 0 comments

1 participant

Xinrong Guo
Xinrong Guo

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

Xinrong Guo ultragtx referenced this issue from a commit
Xinrong Guo Fix issue #12 part 2 bc0bc95
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.