IPhone. Is it possible to override silent mode or have a recursive beep with push notification?

I am trying to write an iphone application where the user will be notified of events such as deadlines. I am looking to override the silent mode and possibly have a sound notification loop until the user activates the application. Any information or documentation will be appreciated.

Thank.

+5
iphone
Dec 16 '09 at 19:39
source share
5 answers

Overriding the sound settings in the OS in this way, even if it was possible, will certainly lead to a failure at the stages of the review (if the reviewer has caught this behavior).

Think about what you are doing and ask yourself if you think your user will appreciate this β€œfeature”. For me, the answer is clearly no.

+8
Dec 16 '09 at 20:12
source share

Apple, as a rule, does not allow actions that can be so easily used to abuse the user. If I turn on silent mode, there is a reason.

+6
Dec 16 '09 at 20:16
source share

I was looking for this application. Let me tell you all that you are rude respondents, why:

I like to disconnect my phone at night, but while in IT, I need to know when my servers have eaten. I believe that I can go into the settings and turn off each sound, but send messages by email or push, but the OP design will save me time.

The Mailtones app is almost perfect except for the ability to override a silent switch.

My searches continue

+6
Nov 28 '12 at 7:53
source share

I will talk about how I solved this problem, which may be slightly different.

I created an application where I wanted the user to be able to view the MP3 clip, even if they had a phone in silence.

As I did this, first, importing the Audiobox <AVFoundation/AVFoundation.h> at the beginning of your file, and then into my code, before I initialized my AVAudioPlayer, I did:

 [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: nil]; 

Worked like a charm. Perhaps this is not what the OP requires.

+1
Nov 02
source share

Tile ( www.thetileapp.com ) does just that. Overrides silent mode and plays a notification sound when repeated. I would like to know how Tile realized this ...

+1
Jan 14 '17 at 18:18
source share



All Articles