MPMediaQuery with MPMediaItemPropertyIsCloudItem filterPredicate returns nothing

Originator:poppoppop
Number:rdar://12025733 Date Originated:03-Aug-2012 03:56 PM
Status:Closed Resolved:
Product:iPhone SDK Product Version:6.0
Classification:Serious Bug Reproducible:Always
 
03-Aug-2012 03:56 PM Oisin Prendiville:
Summary: When a filterPredicate based on the value of MPMediaItemPropertyIsCloudItem is added to a MPMediaQuery, the query returns no items.

Steps to Reproduce: Create a basic MPMediaQuery songsQuery. Add a filterPredicate based on the value of MPMediaItemPropertyIsCloudItem. Check the number of items returned by the query.

Expected Results: The query will return either the number of songs that have been downloaded to the device, or the number of songs stored in iTunes in the cloud depending on the value of MPMediaItemPropertyIsCloudItem that is specified.

Actual Results: The query always returns no items.

Regression: Run on a device running iOS 6.0 (10A5355d) whose music library has iTunes Match enabled and has some songs downloaded to the device.

Notes: Sample project attached.

03-Aug-2012 03:56 PM Oisin Prendiville:
'MPMediaItemPropertyIsCloudItem.zip' was successfully uploaded

06-Aug-2012 11:15 PM Apple Developer Bug Reporting Team :
This bug has been closed as Duplicate. We are aware of this issue and are tracking it under the Bug ID listed below in the Related Problem section of your bug report. To check the status of the original bug report, please visit the Related Problem section of the Problem Detail view of your closed duplicate bug.

Duplicate of rdar://12025655 (http://openradar.appspot.com/radar?id=1846411)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!