Instance Method

removeItem(_:)

Removes a specific dynamic item from the dynamic item behavior.

Declaration

func removeItem(_ item: UIDynamicItem)

Parameters

item

The dynamic item that you want to remove.

Discussion

See Also

Initializing and Managing a Dynamic Item Behavior

func addItem(UIDynamicItem)

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

init(items: [UIDynamicItem])

Initializes a dynamic item behavior with an array of dynamic items.

var items: [UIDynamicItem]

Returns the set of dynamic items you’ve added to the dynamic item behavior.