I'm developing a music app, where the music plays the background and whenever the app goes in the background and I went through the "Music app" sample developed by Apple where it I checked some articles where they say that AviPlayer is used, but it does not support bringing music from the iPod Library, so how do I play when the app goes in the background and it Remote Aventus is controlled through. iPodMusicPlayer will play in the background, but through the IO iPod music player. Your app will not receive notifications in the background, you will need to install an AVAudio session and play with AVPlayer. From Apple Docs: MP3 MPlayer controller object or music to run media items from the device's iPod library Use Player. There are two types of music players: App Music Player plays music locally within your application. It's no longer familiar with the iPod app, nor does it affect the iPod state. iPod music player employs the iPod app built on your behalf. On urgency, it takes you to the current iPod application status, like now identifying gaming items. If a user plays music, then switches from your app, that music keeps on playing. In the iPod app, your music player is the most recent repeat mode, shuffle mode, playback state, and now there are gaming items. Make sure you are using and not Name your information with "UIBackgroundModes". Add a line to the plist file. Enter "audio" as the first key. Starts the reviving remote control event so that the user can control the playback status by clicking on the Home button twice on their iPhone / iPad.
MPMusicPlayerController where it brings songs from the iPod Library, but as soon as this app goes back to the background, Lets close it as well and the
is issuing launcher does not support remote control events .
+ iPodMusicPlayer
+ applicationMusicPlayer
Comments
Post a Comment