Prior to iOS 8.4, this code was allowing me to select a podcast from my phone:
MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypePodcast];
With the latest OS though, the same code now pulls up an empty page. In addition, podcasts were also able to be imported via this code (although the podcasts were buried in the many categories/options):
MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeAnyAudio];
However even with MPMediaTypeAnyAudio
specified, no podcasts are able to be shown. I know Apple Music was released in 8.4 so I'm assuming Apple completely redid their MPMediaPickerController
.
I can't find anything about this in their changelogs though. Is it no longer possible to select a podcast from the phone with MPMediaPickerController
?
It looks like querying still works via:
MPMediaQuery *podcastQuery = [MPMediaQuery podcastsQuery];
but that requires a custom UI and more work. I was hoping to use something out-of-the-box like what previously worked in < iOS 8.4
NSAppleMusicUsageDescription
to yourInfo.plist
file starting in iOS 10). I've submitted this to Apple as radar 27018874. – Aubergine