I am using the MPMediaPickerController to playback my own files (locally or purchased in the cloud). This is the code i use
musicPickerView = [[UIView alloc] initWithFrame:fullScreenRect];
musicPickerView.alpha = 0.0f;
musicPicker = [[MPMediaPickerController alloc] initWithMediaTypes:MPMediaTypeMusic];
musicPicker.showsCloudItems = true;
musicPicker.delegate = self;
musicPicker.allowsPickingMultipleItems = false;
musicPicker.prompt = NSLocalizedString(@"Select a song", @"Select a song");
musicPicker.view.frame = musicPickerView.bounds;
[self addChildViewController:musicPicker];
[musicPickerView addSubview:musicPicker.view];
[self.view addSubview:musicPickerView];
[musicPicker didMoveToParentViewController:self];
[self fadeInMusicPicker:true];
Everything is working fine except the tabs "for you" and "browse". I have an active apple music subscription (verified with SKCloudServiceCapability -> musicCatalogPlayback).
But when opening the MPMediaPickerController i see an infinite spinner.
Any idea what i might be doing wrong?
This is the infinite spinner view inside my apps MPMediaPickerController
