Tells the object when a remote-control event is received.
- iOS 4.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
An event object encapsulating a remote-control command. Remote-control events have a type of
Type Remote Control
Remote-control events originate as commands from external accessories, including headsets. An application responds to these commands by controlling audio or video media presented to the user. The receiving responder object should examine the
event to determine the intended command—for example, play (UIEventSubtypeRemoteControlPlay)—and then proceed accordingly.
To allow delivery of remote-control events, you must call the
begin method of
. To turn off delivery of remote-control events, call the