I have included a audio tag in html and i am loading the html inside the UIWebview control. The audio plays when i click on the play button. But when i put the phone in silent mode it stops playing and instead goes on mute.
I want the audio to play even when the phone is in silent mode.
Can anyone please help me with this?
Please add below code:-
IF you want to run audio even if app is in background mode than use below code in application:didFinishLaunchingWithOpitons:
applicationDidEnterBackground:
Hope, now this will help you.