iPad 5.1 simulator

3 views
Skip to first unread message

Luca Ciciriello

unread,
Mar 31, 2012, 1:07:59 PM3/31/12
to Cocoa Dev
Is it possible to use MPMediaPickerController with the iOS 5.x simulator?

I've used it but I get the following exception:

'NSInternalInconsistencyException', reason: 'Unable to load iPodUI.framework'

The code I've used is:

MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes:MPMediaTypeAny];
[picker setDelegate:self];
[picker setAllowsPickingMultipleItems:YES];
[picker setPrompt:@"Background Music"];

[self presentModalViewController:picker animated:YES];

Thanks in advance for any answer.

Luca.
_______________________________________________

Cocoa-dev mailing list (Coco...@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev-garchive-98506%40googlegroups.com

This email sent to cocoa-dev-ga...@googlegroups.com

Roger Dalal

unread,
Mar 31, 2012, 4:13:37 PM3/31/12
to Luca Ciciriello, Cocoa Dev
No, Luca, you can not use the iPod framework in the simulator.

On Mar 31, 2012, at 1:10 PM, Luca Ciciriello
<luca_ci...@hotmail.com> wrote:

> Is it possible to use MPMediaPickerController with the iOS 5.x simulator?
>
> I've used it but I get the following exception:
>
> 'NSInternalInconsistencyException', reason: 'Unable to load iPodUI.framework'
>
> The code I've used is:
>
> MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes:MPMediaTypeAny];
> [picker setDelegate:self];
> [picker setAllowsPickingMultipleItems:YES];
> [picker setPrompt:@"Background Music"];
>
> [self presentModalViewController:picker animated:YES];
>
> Thanks in advance for any answer.
>
> Luca.
> _______________________________________________
>
> Cocoa-dev mailing list (Coco...@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:

> https://lists.apple.com/mailman/options/cocoa-dev/roger.dalal%40gmail.com
>
> This email sent to roger...@gmail.com

Reply all
Reply to author
Forward
0 new messages