Hello,

I am developing an application for iOS, which is accessing the users
iPod library. I am using AVAssetReader to read the raw PCM data.
To do this I must retrieve the asset URL with property
MPMediaItemPropertyAssetURL.
My understanding is that if the MPMediaItem is unplayable due to DRM
it will return nil
Also if the song is in iCloud (not currently downloaded) it will also
return nil.

How am I supposed to tell the difference? I would like to inform the
user the correct state (1. I cannot play this file, or 2. Please
download the file)

-Kevin
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to