Questions tagged [mpnowplayinginfocenter]

This class displays song information, such as the title, the author, and the album cover, on the lock screen and in the multitasking bar.

146 questions
0
votes
1 answer

Set title and image for now play audio in background

How do I set the title and image of now playing audio in background using the AVPlayer? My code so far: let path: String = String(format: "pathtoaudio") let aPlayerItem: AVPlayerItem = AVPlayerItem(URL: NSURL(string: path)!) let…
Mhmd Backer Shehadi
  • 559
  • 1
  • 12
  • 30
0
votes
1 answer

MPNowPlayingInfoCenter info being overwritten by AVPlayer

I'm working an iOS application that uses an AVPlayer to play songs represented by AVPlayerItems. I've tried setting the nowPlayingInfo property of MPNowPlayingInfoCenter.defaultCenter() but it appears that the info gets immediately overwritten by…
Andrew
  • 101
  • 1
  • 10
0
votes
1 answer

Change lock screen button in iOS

I am developing a music application and I have managed to control lock screen events with "MPNowPlayingInfoCenter". I want to know is it possible to hide next and previous button and just display play/pause and slider? How? And is it possible to…
Niloufar
  • 512
  • 1
  • 5
  • 24
0
votes
1 answer

MPNowPlayingInfoCenter showing as paused

I'm using AVQueuePlayer within my app to play some media. I'm attempting to use MPNowPlayingInfoCenter to show the current status of playback when the app is backgrounded. My issue is the play button is always showing, even when media is playing.…
squarefrog
  • 4,750
  • 4
  • 35
  • 64
0
votes
1 answer

Retrieving / updating individual MPNowPlayingInfoCenter properties

In a basic audio AVPlayer instance, we're playing back an HLS stream and setting the Now Playing info (successfully), but cannot access the properties of the MPNowPlayingInfoCenter that are being set. The category and active status of our…
jterry
  • 6,209
  • 2
  • 30
  • 36
0
votes
1 answer

How to change the current position of a track on iOS 7 control center?

I have a player in an IOS app with a custom player inside this one. And when I'm seeking for a new position from the app, the current position in control center keep moving but does not jump to the new position. I don't found a property to set in…
0
votes
0 answers

Music information on the iPhone lock screen

Possible Duplicate: iOS: Updating Media Information in the Background I have an application that streams music from a server, I want to show the information of the now playing music when the user lock the iPhone screen actually I have found this…
4slices
  • 241
  • 6
  • 15
0
votes
1 answer

iOS: Updating Media Information in the Background

I'm currently using MPNowPlayingInfoCenter for my app to show which song is playing, but I am looking to incorporate HTTP Live Streaming into my application, which will have any number of different tracks occurring in the background. Is there a way…
RileyE
  • 10,874
  • 13
  • 63
  • 106
-1
votes
1 answer

How to programmatically control Play button in MPNowPlayingInfoCenter

In Radio app where for pausing the AVPlayer we are not really pausing it just muting it for some time as per the app requirement. Here the issue is everything is working fine but MPNowPlayingInfoCenter is not updating to pause when I mute the…
Sowji
  • 1
  • 2
-1
votes
1 answer

how to overide play/pause button in MPNowPlayingInfoCenter

i tried to look for it for days in google and i couldn't find an answer. i have an app that play audio stream from the internet and i use MPNowPlayingInfoCenter to display the artist title, song title and artwork. now my question is how to use the…
-2
votes
1 answer

How do you display seek bar on lock screen controls

I've noticed that as of the last update Google Play Music on iOS now allows you to scrub through a track on the lock screen via MPNowPlayingInfoCenter (Presumably) as Apple Music does & the iPod app before it. I was under the assumption that this…
patrickjquinn
  • 288
  • 1
  • 15
1 2 3
9
10