---
title: finishInteractiveTransition()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiviewcontrollercontexttransitioning/finishinteractivetransition()
---

# finishInteractiveTransition()

Notifies the system that user interactions signaled the completion of the transition.

## Declaration

```swift
func finishInteractiveTransition()
```

## Discussion

Discussion While tracking user interactions, gesture recognizers or your interactive animator object should call this method when the interactions suggest that the transition is now complete. For example, if the user swipes a finger, and the touch events indicate that the swipe distance crossed the threshold needed to complete the gesture, call this method when the corresponding touch events end to let the system know that it can now complete the transition. Always follow calls to this method with a call to the completeTransition(_:) method to finalize the transition.

## See Also

### Reporting the transition progress

- [completeTransition(_:)](uikit/uiviewcontrollercontexttransitioning/completetransition(_:).md)
- [updateInteractiveTransition(_:)](uikit/uiviewcontrollercontexttransitioning/updateinteractivetransition(_:).md)
- [pauseInteractiveTransition()](uikit/uiviewcontrollercontexttransitioning/pauseinteractivetransition().md)
- [cancelInteractiveTransition()](uikit/uiviewcontrollercontexttransitioning/cancelinteractivetransition().md)
- [transitionWasCancelled](uikit/uiviewcontrollercontexttransitioning/transitionwascancelled.md)
