mpmediaplayercontroller Questions

4

I'm writing a basic music player app but having some problems when it comes to handling the app state transitions. I'm using Swift 3 and MPMusicPlayerController.systemMusicPlayer() The goal is th...
Lemuel asked 19/2, 2017 at 19:32

2

I submitted Feedback about this in Feedback Assistant already, but figured I'd post here too -- as of iOS 13.4, I have noticed various bugs in the MediaPlayer framework, specifically with the appli...
Visitation asked 27/3, 2020 at 13:49

1

I'm using Xcode 10+, Swift 4, and targeting iOS 11.4+ with MPMediaPlayer I'd like to programmatically fade out the volume of the player (like Apple does when you quit their music player). As well,...
Indented asked 21/12, 2018 at 20:4

3

Solved

The simulator crashes when trying to play audio. 13:22:14.211 App [2965:5603] <0xb03e7000> Error '!obj' trying to fetch default input device's sample rate 13:22:14.211 App [2965:5603] <0x...
Malinin asked 26/9, 2012 at 14:15

1

Solved

I try to make my own Musicplayer with Swift. I need to jump to a specific song/index of my MPMediaItemCollection and start to play it but i can only find methods like skipToNextItem() and skipToPre...

1

Solved

Spotify on iOS has a very interesting Control Center integration. Notice the hamburger button below. The same thing is on the lock screen! How do they do those? Is there an API in MPMediaCen...
Stop asked 15/5, 2015 at 17:51

1

Any one Help for MediaPlayer Error. when aim is to Change DataSource and Play second Audio when First Audio is Compliting its Playing. My Code is below :- mMediaPlayer.setOnCompletionListener(new...

1

As is stated in Apple documents: enum { MPMusicRepeatModeDefault, MPMusicRepeatModeNone, MPMusicRepeatModeOne, MPMusicRepeatModeAll }; typedef NSInteger MPMusicRepeatMode; Yet, MPMusicRepeat...
Prole asked 8/9, 2012 at 19:26

1

Solved

I've just seen iOS 5.1 to iOS 6.0 API Differences released by Apple. They say that some important methods of MPMusicPlayerController.h are removed to MPMediaPlayback protocol (play, pause, stop...)...
Reynolds asked 12/6, 2012 at 14:32
1

© 2022 - 2024 — McMap. All rights reserved.