iphone - How can I play music continue in other iOS app when I record audio complete in my app? -


how can play music continue in other ios app when record audio in app?

if set audio session inactive flag notify others set well, other app should restart. ios5 avaudiosession this:

[[avaudiosession sharedinstance] setactive:no withflags:avaudiosessionsetactiveflags_notifyothersondeactivation error:nil]; 

note has been deprecated in ios6 , replaced with:

[[avaudiosession sharedinstance] setactive:no withoptions:avaudiosessionsetactiveoptionnotifyothersondeactivation error:nil]; 

there c interface well.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -