Called to let you fine tune the spring-loading behavior of the rows in a table.
- iOS 11.0+
- Mac Catalyst 13.0+
The table view where the interaction is occurring.
The index path of the row whose spring-loading behavior is being considered.
A context object that you can use to modify the spring-loading behavior. Use this object to specify the location for spring-loading animations associated in the row.
true if the row allows spring-loaded interactions or
false if it does not.
Override this method when you want to selectively disable spring-loaded interactions with the rows of your table. For example, you might return
false for rows that represent leaf content and not a folder of content. If you do not implement this method, the table view performs spring-loading animations on the row when it is not currently being dragged.By default, spring-loading animations are performed on the entire row. To modify these animations, modify the provided context object. For example, you might use the context object to apply the spring-loading animations to a single subview of the row instead of to the entire row.