0

I am working on one iOS app which have a requirement that if phone received sms from particular number so set ringtones volume to loud.

I know how to increase or decrease the volume which most likely to this.

[[AVSystemController sharedAVSystemController] setVolumeTo:10.0 forCategory:@"Ringtone"];

But how could i check that sms received from particular number even application is closed?

AFTAB MUHAMMED KHAN
  • 2,189
  • 3
  • 18
  • 24
  • 2
    This is not possible, the iOS SDK does not allows you to detect the receivement of SMS. – rckoenes Nov 15 '16 at 14:31
  • 1
    i think its possible because i saw app using UISharedApplication delegates for checking the sms pin received. so maybe there could any way:) just hope also reading iOS security compliance. But i am also have doubt. – AFTAB MUHAMMED KHAN Nov 15 '16 at 14:35
  • 2
    No it is not possible to read the SMS inbox. – rckoenes Nov 15 '16 at 16:47

0 Answers0