Contents

addItem(_:)

Adds a dynamic item to the behavior’s dynamic item array.

Declaration

func addItem(_ item: any UIDynamicItem)

Parameters

  • item:

    The dynamic item to add to the item array.

Discussion

All the dynamic items added to a push behavior are subject to the same force vector.

See Also

Initializing and managing a push behavior