I have an app that is registered for UILocalNotification
, and the notification sound have a duration of 30 seconds, when user is making a phone call and the fireDate
of the UILocalNotification
at the same time with the call, the notification sound play in the headset and the user is not able to hear his voice call
im wondering if there is a way to mute the UILocalNotification
if there is a running phone call
Thanks in advance.
Use the CTCallCenter ( the Core Telephony framework ) to register an event handler so your app gets notified when a call starts
Something like: