Skip to main content

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.

mpnowplayinginfocenter
0 votes
0 answers
18 views

<iOS development>The backend playback notification bar data has not been updated

When the application does not enter the background, it can update the notification bar for the next episode after automatically playing through the front-end notification bar. But when the app enters ...
bass's user avatar
  • 1
0 votes
0 answers
59 views

Unpredictable NowPlayable Behavior SwiftUI

I have an app which features a tiktok-like vertical scroll of videos and horizontal carousel of different categories. I update the lock screen info each time the video changes like so: // Function ...
caseytraina's user avatar
0 votes
0 answers
54 views

Is it possible to set MPNowPlayingInfoCenter to show some info like title and artist label without actually playing any AVPlayer or Content?

Previously i already developed some feature regarding showing some info of notification player in iOS which is to displayed what music or content that you're listen to using AVPlayer with the help of ...
Aditya Ramadhan's user avatar
0 votes
0 answers
192 views

MPNowPlayingInfo only displaying after changing playback state (SwiftUI + AVAudioPlayer)

I have successfully setup a background capable audio player with Lock Screen controls, but when it comes to setting the info, nothing seems to work. When I first start playing music in the app and ...
Trevor's user avatar
  • 803
0 votes
0 answers
95 views

When using AVPlayerViewController can't display MPMediaItemPropertyArtwork during Airplay

A section of my app displays various forms of media from an API, images, videos and songs (audio + an image). I'm using AVPlayerController and using an UIImageView on top of its contentOverlayView to ...
Simon McLoughlin's user avatar
0 votes
0 answers
131 views

information is not displayed in now playing

I'm playing a mp4 on a remote url everything works even it plays in background the problem is that it doesn't show the information in the now playing bar it only shows the name of my project. mention ...
Noise182's user avatar
3 votes
1 answer
320 views

SwiftUI | How to display video title in control center of iPhone

I want to display video title in control center of iPhone. But, the title does not appear. What should I do? Xcode 14.0, Swift 5.7, iPhone8 iOS 16.0 import SwiftUI import AVKit import MediaPlayer ...
number l advantage's user avatar
0 votes
2 answers
601 views

Android TV: Now Playing Card shown but app still rejected

I'm making my radio-app available for Android TV. All issues solved but my app is still rejected: No Now Playing notification [card]" Your App does not contain a “Now Playing” notification [card]...
Patrick Koning's user avatar
1 vote
1 answer
520 views

Android NowPlaying MediaSession Lock Screen (Samsung)

I'm working on a Audio app based on ExoPlayer, I have implemented the MediaSession controls for a NowPlaying bar in Notification Center and Lock Screen. The NowPlaying bar in the Notification Center ...
user3130478's user avatar
2 votes
0 answers
211 views

MPNowPlayingInfoCenter does not set player controls when running iOS app on macOS with M1

I want to use iOS app on Mac with M1. It mainly works as intended in "Designed for iPad" mode, except player controls do not appear in control center as they are on iOS. Here is the ...
dandepeched's user avatar
4 votes
0 answers
394 views

MPRemoteCommandCenter how to signal playback state when not using AVAudioPlayer

I have a simple MIDI player (Swift 5, SwiftUI, iOS14) and would like to toggle a play/pause command with MPRemoteCommandCenter. The control from the lock screen works fine with the following setup, ...
Jonathan's user avatar
1 vote
0 answers
234 views

MPMediaItemPropertyArtwork not getting set in Apple Watch

I have an audio streaming app which plays live streams using AVPlayer. Everything works as intended and in order to support a good user experience, I set the MPNowPlayingInfoCenter's nowPlayingInfo ...
Shawn Frank's user avatar
  • 5,043
1 vote
1 answer
1k views

Testing CarPlay Audio using the simulator

I have developed an iOS radio audio app using Swift / UIKit and everything works well. I want to integrate wit CarPlay and got the required entitlements. I believe I have set everything up right for ...
Shawn Frank's user avatar
  • 5,043
1 vote
3 answers
2k views

iOS MPNowPlayingInfoCenter not Displaying Using AVPlayer and AVAudioSession

I am building a radio streaming app. The sound is working, including when the app is in the background and when the phone is locked. However, I can't get the MediaPlayer info to appear on the lock ...
joeOrtigara's user avatar
1 vote
1 answer
1k views

CarPlay - Show Now Playing screen in iOS 13

My app is already the current "now playing app" on the phone (i.e. all the required info are provided to MPNowPlayingInfoCenter) and it correctly shows in the lock screen, with artist name, ...
Enrico Querci's user avatar

15 30 50 per page
1
2 3 4 5
10