Questions tagged [mpmediapickercontroller]

176 questions
3
votes
1 answer

Is it possible to play a Song from iOS Music Library with AVAudioEngine?

i have succesfully created a AVAudioEngine. It plays local sound-files from the project-directory. But how can I get access to the Music Library on the phone? Is there a way I can combine AVAudioEngine with the MPMediaPickerController ? Thank you
Joel
  • 396
  • 1
  • 15
3
votes
0 answers

MPMediaPickerController very slow on iPad ios7

I am trying to display a MPMediaPickerController in a popover on iOS7+ and it is VERY slow. It takes about 4 seconds from the first NSLog to the second NSLog. I have tried retaining the picker but this makes no difference. Any ideas would be greatly…
amergin
  • 3,106
  • 32
  • 44
3
votes
2 answers

Pick Audio by MPMediaPickerController

Hi I'm using MPMediaPickerController to picking Audio file from Phone library. but it give me blank screen. I can't understand why this is happening. I'm running app on simulator. This my code - (IBAction)selectFile:(UIButton…
user3300454
3
votes
2 answers

iOS 7 and the MPMediaPicker, why plus?

I've got two strange diverging behaviours between iOS 6 and 7. I want to present the MPMediaPicker to the end user, allow them to select 1 song, and start playing that back to them. So, I show them the MPMediaPicker (/not/ multi, and /not/ cloud, if…
Ken Corey
  • 435
  • 3
  • 15
3
votes
2 answers

presentModalViewController not working

I'm having an odd issue trying to present an MPMediaPickerController using presentModalViewController. I had it working fine, but recently (perhaps as of 3.1, I don't exactly recall the last time it was working) the MPMediaPickerController just…
Mitch Lindgren
  • 2,120
  • 1
  • 18
  • 36
3
votes
1 answer

iOS - get playlist from didPickMediaItems

I want to know when a user selects a song using media picker, what playlist they picked the song from. For some reason, the playlist doesn't seem to exist. Basically when a user goes to a playlist in media picker let's call it "gym songs" and they…
3
votes
2 answers

Removing done button in media picker

In my app I am using media picker when I click on a button media picker will appear. After selecting the required song I have to press done button to dismiss that picker view. Instead of that can I have a any chance to dismiss picker view after…
ganesh manoj
  • 977
  • 10
  • 24
2
votes
1 answer

How to get path of file selected using MPMediaPickerController?

This is how I've code to open media picker list - (void)viewDidLoad { [super viewDidLoad]; player=[MPMusicPlayerController iPodMusicPlayer]; picker=[[MPMediaPickerController alloc] initWithMediaTypes:MPMediaTypeAnyAudio]; [picker…
Hemang
  • 26,840
  • 19
  • 119
  • 186
2
votes
0 answers

Saving an audio file in documents directory

I am selecting an audio file using MPMediaPickerController, once I select, I want it to store into my application sandbox (some where in documents directory). Is there any way to do so? //I am implementing MPMediaPickerController delegates -…
Hemang
  • 26,840
  • 19
  • 119
  • 186
2
votes
0 answers

Using media query to manage media item picker selected collections?

In the iPod Library Access Guide, at page 16 (where it explains about media query usage) there is a description like this, after describing the usage for MPMediaQuery: You can construct your own collections as well. This can be useful, for…
2
votes
2 answers

Use MPMediaPicker selections as AVAudioPlayer inputs

I'm programming an application for the hearing-impaired. I'm hoping to take tracks from the iTunes library, and in my app have a slider for panning. I don't want to use OpenAL (this isn't a game - I repeat this is a media player). So since…
2
votes
1 answer

MPMediaPickerController never shows on iOS 13, no error printed

I am exploring the MPMediaPickerController for the first time, and I don't see anything when my button is pushed. The MPMediaPickerController.view has a frame after it is presented but it is not visible at all, nor does it appear in the view…
Siriss
  • 3,737
  • 4
  • 32
  • 65
2
votes
1 answer

MPMediaPickerController didPickMediaItems returns MPModelObjectMediaItem

I am having a super strange issue. I am using iOS13 MPMediaPickerController to get some songs from the users apple music library in order to play it via the [MPMusicPlayerController applicationMusicPlayer]. Now with some non-downloaded songs from…
2
votes
1 answer

Import media from ipod library

i am the new for iphone programming. i need to import media from iphone media library and copy to my app's document dir. please help me. thanks in adv.
korat prashant
  • 1,523
  • 10
  • 24
2
votes
1 answer

Accessing users iTunes Library without MPMediaPickerController

Is there another way to access the users iTunes Library than MPMediaPickerController? Can the UITableView which is used to present the MPMediaPickerController be customized?
some_id
  • 29,466
  • 62
  • 182
  • 304
1 2
3
11 12