interaction(_:didChangeWith:)
Called when the spring-loaded interaction state has changed.
Declaration
func interaction(_ interaction: UISpringLoadedInteraction, didChangeWith context: any UISpringLoadedInteractionContext)Parameters
- interaction:
The spring-loaded interaction providing the state change information.
- context:
An object that provides information about the current spring-loaded state.