In my alarm application, I have been planning an alarm for some time.
With the application in the foreground, I am blocking my iPhone (iOS7, I have not tried it with iOS6).
Now, when the notification sound starts, I look through the local notification using the “Slide to view” on the lock screen, and when the application opens, I also play the sound with AVAudioPlayer.
Thus, the problem is that the notification sound rings continuously for up to 30.0 seconds.
Is this an iOS issue or in the code I need to integrate any method, etc.?
thank
source
share