mpmediaitemcollection Questions
1
I'm searching for a way to get the picture of an Artist through the MediaPlayer library.
I've searched in the Apple's Doc, but there is nothing about that.
The property "Artwork" refers to the alb...
Chord asked 19/9, 2014 at 15:27
0
Say I have an iOS music library with this playlist structure:
A Folder
|
---> A Playlist
|
---> Song A
I run the following code:
import MediaPlayer
let playlists = MPMediaQuery.playlists(...
Quadrangular asked 8/11, 2018 at 21:58
6
Solved
That's my Question =)
MPMediaQuery *artistQuery = [MPMediaQuery artistsQuery];
NSArray *songsByArtist = [artistQuery collections];
How can I get the number of albums of each artists of the MPMed...
Hola asked 15/5, 2012 at 8:33
0
I'm working on code that looks at the user's videos and passes them along to AVPlayer by way of an AVPlayerItem which takes a URL.
To get all the videos on an iOS device, you can do:
let videoNum...
Benito asked 7/6, 2017 at 1:38
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...
Rosy asked 8/7, 2015 at 12:31
1
Solved
How do you persist a MPMediaItemCollection object using NSUserDefaults? The MPMediaItemCollection object is a single song selected from the iPod.
I have been struggling with this for hours! Anyone...
Saloma asked 23/11, 2011 at 20:45
2
Solved
I am making an app in which the user can select a song in a settings tab and have this played in a different view on demand. I want it so that this item can be stored if the user is to shut the app...
Knapp asked 23/11, 2011 at 18:31
1
Solved
I'm trying to replicate the clear queue functionality of the iPod application, however I can't create an empty MPMediaItemCollection with which to call setQueueWithItemCollection:
e.g.
[self.musi...
Perennial asked 17/6, 2010 at 6:2
1
© 2022 - 2024 — McMap. All rights reserved.