Instance Method


Tells the object when a remote-control event is received.


- (void)remoteControlReceivedWithEvent:(UIEvent *)event;



An event object encapsulating a remote-control command. Remote-control events have a type of UIEventTypeRemoteControl.


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 subtype of 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 beginReceivingRemoteControlEvents method of UIApplication. To turn off delivery of remote-control events, call the endReceivingRemoteControlEvents method.