I'm developing a application that plays music like itunes and it plays when the application is in background! That has a Audio Session started and it's receiving the remote controls events...
My Question is:
Is it possible to show the Album cover and the music title like itunes when my application is in background?
thanks
Related
I am developing an app in which I have implemented a small turn based game using game centre. I have facing a problem and problem is when I have start the game and invite a friend then the notification banner with appropriate message is display on friend device but when he play the game and give turn to me and when my app is in background mode then only the badge is display but notification banner is not display but if I have remove the app from background then notification banner appears correctly. This process is running correctly with iOS 7 & 8 but not with iOS 9. Please suggest me any idea to solve this.
Thanks in advance!
I have an application that plays video from local disk and when a second screen is connected (through AV composite cable) it switch the movie view to the external screen. this is working fine so far. what I want is, when the user press the home button and the app goes to background mode; I want to continue playing the video in the second screen while the app is running in the background mode. this works for audio, as I have set my application to continue play audio in background mode and it is working fine: the audio continue to play in the background mode fine. now is it possible to continue play video as well, and how?
This is not possible. It is outside of the scope of an iOS app to continue powering a screen while it is in the background.
I am working on application in which i have to change the lock screen wallpaper without playing audio in background through application programmatically. I have done with audio in background but is there any way i can do through application. There is an app on appstore here is the link https://itunes.apple.com/us/app/sticky-notes-hd-with-bump/id364874025?mt=8 I dont know how it is possible.
Thanks.
The topic may sound strange, but please keep reading on.
I am using AVPlayer to play some sound from the iPod library and everything works fine when using it with headphones plugged in, but when I want to use the app to play from the built in speakers there is no sound output. (The time counter and everything else in the application is still working like there would be sound output. Like it is just muted.)
I checked the volume and the mute lock and then found out that the ringtone was muted. But ringtone muting doesn't affect other applications like the iPod app itself or the Spotify music app.
How can I prevent my application (using AVPlayer) is muted when the ringtone is muted and behave like other music player apps?
You should set your app's audio session to AVAudioSessionCategoryPlayback. From the docs:
Use this category for an
application whose audio playback is of primary importance. Your audio
plays even with the screen locked and with the Ring/Silent switch set
to silent.
I'm using iPodMusicPlayer for my MPMusicController.
And I want to get music queue as MPMediaItemCollection.
How can I do that?
In my app, you can select and play music in your music library by MPMediaPickerController.
Then, if you were playing music by iPod music app, it is interrupted.
After music you selected in my app finished, I want to back to music on iPod music app.
Thank you.
I'm afraid you can't - Apple retains sole control of the inner workings of the ipodmusicplayer