The array of interactions for the view.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- UIKit
Declaration
@property(nonatomic, copy) NSArray<id<UIInteraction>> *interactions;
The array of interactions for the view.
SDKs
Framework
@property(nonatomic, copy) NSArray<id<UIInteraction>> *interactions;
- add Interaction:
Adds an interaction to the view.
- remove Interaction:
Removes an interaction from the view.
UIInteraction
The protocol that an interaction implements to access the view that owns it.