MPMediaItemPropertyReleaseDate returns nil although Music app shows year

Originator:jan.sachse
Number:rdar://21765993 Date Originated:10-Jul-2015
Status:Open Resolved:
Product:iOS SDK Product Version:
Classification: Reproducible:Sometimes
 
Summary:
Having an MPMediaItem, asking it for the MPMediaItemPropertyReleaseDate using the valueForProperty: method, it returns nil, but the release year is set in iTunes and can be seen in the Music app on the same iPad.

Steps to Reproduce:
Request MPMediaItems from the iPod library (e.g., Songs or Albums).
Request the release date using [item valueForProperty: MPMediaItemPropertyReleaseDate];

Expected Results:
The MPMediaItem returns the correct date.

Actual Results:
The MPMediaItem returns nil instead of a NSDate Object.

Version:
iOS 8.4 (12H143)

Notes:
"Sometimes" is quite an understatement. I'd rather say, it works "sometimes"...

Configuration:
iPad Air Wifi 128GB; iPhone 4S 32 GB

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!