michaelbabiy / InteractiveSpace

Sample project demonstrating interactive transition between collection view layouts.
10 stars 0 forks source link

Assertion failure in -[UICollectionView startInteractiveTransitionToCollectionViewLayout:completion:] #1

Open ivanlesko opened 8 years ago

ivanlesko commented 8 years ago

With exception breakpoints on, the sample app crashes on line 81 of ViewController.

Repro steps:

  1. Start the collection view in the 3 image wide layout.
  2. Begin pinching out with two fingers to the 2 image wide layout.
  3. Half-way between the animation, rotate the phone.
  4. Release the pinch gesture. Images will freeze in an "in-between" state.
  5. Rotate the phone back to the original orientation.
  6. Perform another pinch gesture. App crashes.

It's an edge case, but thought I'd throw it out there anyway.

michaelbabiy commented 8 years ago

Thanks Ivan. I'll look into it...