linearVelocity(for:)
Returns the linear velocity for a specified dynamic item.
Declaration
func linearVelocity(for item: any UIDynamicItem) -> CGPointParameters
- item:
The dynamic item whose linear velocity you want to get.
Return Value
The linear velocity of the specified dynamic item, in points per second.