Best practice to handle remoteControlEvent
Best practice to handle remoteControlEvent
- Subject: Best practice to handle remoteControlEvent
- From: Sasikumar JP <email@hidden>
- Date: Thu, 20 Sep 2012 10:10:48 +0530
Hi,
I have tabbar based audio streaming application. I want to receive the remote control event when app is in any tab when it is in background. So I have implemented beginReceivingRemoteControlEvents and endReceiveRemoteControlEvents in each view controllers viewWillAppear and viewWillDisappear.
Everything works fine. My application is admob ad supported. When the ad is clicked,some of the ad displays empty full screen banner before it switches over to AppStore app.since ad displayed empty full screen banner, which does not use the beginReceiveRemoteControl event, my app looses the focus, so remote control does not show my app, it shows iPod app.
Since I don't have control of admob full screen view, I can not implement beginReceiveRemoteControl call for that view controller.
Please some one guide me, how can I resolve the problem. Am I following correct approach to receive the remote control events.
Thanks
Sasikumar
Sent from my iPad
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden