I know how to set up my iOS application to make it playing audio in background (= when another application is used on the iOS device) using the plist.
Some applications like: - BLOOM - some radio players
provides a basic UISwitch to enable or disable this behavior.
Any ideas about how to do that ?
In your AppDeletate:
Thus The audio stops at app entering background.
Have an iVar of type UIBackgroundTaskIdentifier in the main class that handles audio playing code, initialize this with beginBackgroundTaskWithExpirationHandler.... method before starting the audio player and use endBackgroundTask when audio player completes.
Code: