MPMediaPickerController.showsCloudItems seems to do nothing

前端 未结 4 723
暖寄归人
暖寄归人 2021-02-07 11:54

Posted this on Apple with no luck, but now that the iOS 6 NDA is up, hoping more eyes will see it here.

I am attempting to modify an app to only allow a user to select

4条回答
  •  悲&欢浪女
    2021-02-07 11:59

    It appears to be fixed in iOS 7.

    The following code works; iCloud items are not showing:

     MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeMusic];
     picker.delegate = self;
     picker.allowsPickingMultipleItems   = NO;
     picker.showsCloudItems = NO;
    

提交回复
热议问题