Use remote control for non-audio related tasks?
Asked Answered
S

1

1

Would it be possible to use the audio controls in the multitasking tray for non-audio related tasks?

(For example, putting the app icon there, or using the buttons to respond to something else?)

Does this violate an HIG rules?

Simian answered 11/11, 2010 at 20:11 Comment(0)
P
3

You can use beginReceivingRemoteControlEvents and -remoteControlReceivedWithEvent: if you were the last app playing audio, but doing anything non-standard will be a HIG violation. There was an app which used the volume control to take pictures, but as soon as this was highlighted, the app was pulled until the developer changed the behaviour.

The WWDC 2010 Multitasking video (Part 2) has some details about using the remote.

Prolocutor answered 11/11, 2010 at 20:54 Comment(1)
should I use beginReceivingRemoteControlEvents and -remoteControlReceivedWithEvent: , where? in my app delegate? in my controller? thksPenner

© 2022 - 2024 — McMap. All rights reserved.