Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hoping support play audio in background #2

Closed
andypan1314 opened this issue Oct 14, 2012 · 1 comment
Closed

hoping support play audio in background #2

andypan1314 opened this issue Oct 14, 2012 · 1 comment

Comments

@andypan1314
Copy link

hoping app plays audio when the application enters background

@tumtumtum
Copy link
Owner

Hi there,

Playing audio in the background is very easy. You just need to call AudioSessionInitialize and AudioSessionSetActive in your AppDelegate and also add the "audio" UIBackGroundModes to your application's plist file.

tumtumtum pushed a commit that referenced this issue Apr 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants