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.
In
remoteControlReceivedWithEventno events are being received even though theresponderViewis "first responder".It was working until I upgraded to PhoneGap and iOS 5. Not sure which of these is the trouble if any.