mpremotecommandcenter Questions

1

On a screen inside my app I have both an AVAudioPlayer for music and an AVPlayer for videos. The user can swap out different songs and different videos but can only play one at a time. They can pla...
Unmixed asked 4/12, 2021 at 13:4

1

I'm trying to play an audiofile and control it's playback via the Remote Command Centre available on the lock screen. If I do the following: Begin playback Pause playback Lock device Begin playb...
Macrophage asked 21/11, 2019 at 0:30

2

Solved

I am trying to add scrubber to command center lock screen, I am getting this error Cannot assign to value: function call returns immutable value I don't know what it means. Any help would be apprec...
Hermanhermann asked 11/7, 2018 at 14:55

1

Solved

I am writing an application for my own purposes that aims to get play pause events no matter what is going on in the system. I have gotten this much working let commandCenter = MPRemoteCommandCent...
Dermoid asked 18/4, 2020 at 21:13

1

Solved

All of the threads on this topic are really old (5+ yo), and I can't seem to form a clear MODERN approach, so hopefully this can be summarized for 2020 (Swift 5, Xcode 11). If you were to build an ...

2

Solved

I am new to iOS, and developing a cross platform app with Flutter. I am trying to play audio from network URL, which i found it can be done using the AVPlayer. The audio plays when the app is in fo...

1

Solved

I have a view controller with two separate players, an audio player with AVAudioPlayer and a video player with AVPlayerViewController. When the view is loaded both players are initialized as well w...

1

I'm playing around with the audio features in iOS, and I'm looking at MPRemoteCommandCenter's changePlaybackRateCommand. I have enabled it, given it a target, and set its supportedPlaybackRates, bu...
Donaldson asked 15/3, 2018 at 15:48

1

Solved

I am handling audio playback using AVAudioEngine and AVAudioPlayerNode in my app, and I want to implement remote controls. Background audio is configured and working. Control center controls work,...

1

Solved

I am trying to setup my app to use MPRemoteCommandCenter. I got this example from the document programming guide. I imported AVFoundation and even tried importing AVKIT, I am getting the error Use ...
Amalgamate asked 10/4, 2018 at 17:44
1

© 2022 - 2024 — McMap. All rights reserved.