Tells the collection view to finish an interactive transition by installing the intended target layout.
- iOS 7.0+
- tvOS 9.0+
Call this method after a call to the
start method and after you determine through a gesture recognizer or other event-handling code that the user wants to transition to the new layout. This method removes the intermediate transition layout object from the collection view and installs the intended target layout object. It then performs any final animations to get the collection view’s items from their current positions to the positions specified by the newly installed layout object.
After calling this method, you can also remove the gesture recognizer or event-handling code you installed to manage the interactive portions of the transition.