contextualActions
An array of action controls to present contextually during playback.
Declaration
var contextualActions: [UIAction] { get set }Mentioned in
Discussion
Use this property to present action controls for a specific time in the presentation, such as showing a Skip Intro button during a title sequence. Have your app observe the player’s timing, and when playback reaches a point at which to present controls, set the property value to one or more custom actions. To dismiss the controls, set this property value back to an empty array.
For details about observing player timing, see Observing the Playback Time.