phonegap-plugins icon indicating copy to clipboard operation
phonegap-plugins copied to clipboard

Remote control events not being received

Open devgeeks opened this issue 14 years ago • 0 comments

In remoteControlReceivedWithEvent no events are being received even though the responderView is "first responder".

-(void)remoteControlReceivedWithEvent:(UIEvent *)event
{
    switch (event.subtype) {
        case UIEventSubtypeRemoteControlTogglePlayPause:
            [[self delegate] playPauseEvent:self];
            break;
        default:
            break;
    }
}

It was working until I upgraded to PhoneGap and iOS 5. Not sure which of these is the trouble if any.

devgeeks avatar Nov 25 '11 07:11 devgeeks