Re: What is MPConcreteMediaPlaylist..?
Re: What is MPConcreteMediaPlaylist..?
- Subject: Re: What is MPConcreteMediaPlaylist..?
- From: Hamish Allan <email@hidden>
- Date: Fri, 26 Nov 2010 09:24:44 +0000
MPConcreteMediaPlaylist objects presumably *are* MPMediaPlaylist objects (look up "polymorphism").
You don't get an array back from -[MPMediaQuery playlistsQuery], so your description of what you're doing is missing detail. Unless you copy and post code, it's difficult for us to tell whether what you think you're doing is what you're really doing, i.e. not really possible for tell what the problem is.
H
Please excuse the brevity -- sent from my iPad Hi,
I was expecting the array to return MPMediaPlaylist objects; later while using the method valueForProperty:MPMediaPlaylistPropertyName on the returned object, my application crashed. please help me out finding the possible cause of the crash.
thanks, sachindra
On 26-Nov-2010, at 5:29 AM, Hamish Allan wrote: On 25 November 2010 13:50, sachindra < email@hidden> wrote: I developed an application that fetches all the media information from iPod
library.
The code was working fine for all the versions before iOS4.2. However, when
i call [MPMediaQuery playlistsQuery] in iPad with OS 4.2.
it returns an object of class MPConcreteMediaPlaylist, is this a bug, or I
am missing something ..?
arrayOfAllPlaylists(
"<MPConcreteMediaPlaylist: 0x184b60>",
"<MPConcreteMediaPlaylist: 0x180be0>",
"<MPConcreteMediaPlaylist: 0x185120>"
)
Looks reasonable to me. What were you expecting to be returned? H
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden