In one of my applications, it has a sound reproduction function, which I have achieved success. Even if the application is running (foreground state) and we have received an incoming call, the music of the application stops and resumes again when the call is disconnected.
Now the real problem is here. When the application enters the background state, we do not receive any event for an incoming / outgoing call. In the background If music is playing inside my application and we receive any incoming call, the music of the application stops automatically, but does not resume again when the call is disconnected unlike the iPhone Music application.
Is this a limitation of iOS or can we achieve this?
Note. I'm not looking for a solution for jailbroken devices or enterprise applications
source
share