ios - Sound in background mode with the default audio session? -


if use play sound in device method [[avaudiosession sharedinstance] setcategory:avaudiosessioncategoryplayback error:nil]; effect on sound playing or work if play sound using avaudioplayer

no! avaudiosession singleton class can used set audio context app. not specified avaudioplayer. #reference https://developer.apple.com/library/ios/documentation/avfoundation/reference/avaudiosession_classreference/


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -