devgeeks/phonegap-plugins — Issue #1: Remote control events not being received
Author: devgeeks
Created: 2011-11-25 07:20:42+00:00
State: open

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

```Objective-C
-(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.