0
votes

I implement UILocalNotification in my app which will play 16-seconds-length sound.
I notice that while the sound is being played,
if I press the side Volume buttons (on iPhone/ iPod) to increase or decrease the volume,
the sound is stopped immediately.

Do you know how to not stopped the Local Notification sound when user presses the side Volume buttons on iPhone/ iPod?

Thank you.

EDIT: I like to do the same like this i-iQ Timer app, when UILocalNotification sound is playing, if user adjust the side volume buttons, the sound keeps playing.

1

1 Answers

0
votes

No, the standard APIs give you no control over what happens when the volume buttons are pressed. The only sound-related thing about a UILocalNotification that you can control is to choose which sound plays.}