addItem(_:)
Associates the field behavior with the specified dynamic item.
Declaration
func addItem(_ item: any UIDynamicItem)Parameters
- item:
The dynamic item whose behavior you want to modify.
Discussion
Use this method to apply a field to a dynamic item in your interface. This method adds the specified dynamic item to the field behavior’s list of dynamic items.