Questions tagged [mpmediapickercontroller]
176 questions
2
votes
0 answers
iOS Zoom video while playing
I am using MPMediaPickercontroller for playing the video. I like to zoom the video by pinching. Is it possible to achieve this. Please help me.

Karthick
- 382
- 1
- 3
- 23
2
votes
1 answer
How to get NSData of mp3 using MPMediaPickerController?
I want to upload mp3 from my phone to server, for this i am using MPMediaPickerController.
After getting URL of MPMediaItem, i want to get NSData of this url , but i am getting null in NSData.
- (void) mediaPicker: (MPMediaPickerController *)…

Rajneesh071
- 30,846
- 15
- 61
- 74
2
votes
1 answer
convert MPMediaItemCollection into the Nsdata
I had imported an .mp3 file form MPMediaPickerController by below code:-
MPMediaPickerController *mediaPicker = [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeAny];
mediaPicker.delegate = self;
…

ios developer
- 3,363
- 3
- 51
- 111
2
votes
1 answer
Copying music files of iphone library in my app
I want to copy the music files of iphone ipod library using MPMediaPicker. Actually using MPMediaPicker I am able to get the path of ipod music library but when I convert music file at url in NSData, the result is null. I doubt that is it possible…

Abhinav
- 191
- 8
2
votes
1 answer
How to reduce the size of audio file when I save it from iphone audio library to my application document folder?
I am making an audio app. In it I have pick a song from iphone device audio library then I have save it to my app document folder. But when I have saved it to my document folder then the size of song increase up to 4-5 times. Here is my code -
-…

Saurabh
- 423
- 4
- 11
- 22
1
vote
0 answers
Attach ipod library audio file to Email in iphone app
I am working on app where i am attaching a Audio file from ipod library
i Get the audio detail using MPMediaPickerController. I get all the details. I even get the path and URl for the Audio. I even attach the audio in email and which is visible…

abhiTouchmagic
- 323
- 1
- 4
- 21
1
vote
1 answer
iTunes Music Match files in MPMediaPickerController
I have made an app using MPMediaPickerController that allows the user to pick songs from their music library.
It is great that when you turn on iTunes Music match the MPMediaPickerController automatically includes iTunes Music Match tracks as…

blade olson
- 71
- 5
1
vote
0 answers
How can i integrate iPod Playlist(Songs) in iPhone app?
Really it's first time am trying to get iPod playlist songs in iPhone app. I just refereed Apple document to integrate the iPod songs (Library) into an iPhone app. Form apple document i learned we need to use 'MPMediaPickerController' to get the…

Yuvaraj.M
- 9,741
- 16
- 71
- 100
1
vote
0 answers
Problems with MPMediaPickerController.
With the code below. The musicPlayer does not play on my device at all. I am running iOS 5 and I get some weird cryptic warnings in the console like wait_fences no reply and Invalid Track
Here is the code:
- (IBAction)openMediaPicker:(id)sender…

SimplyKiwi
- 12,376
- 22
- 105
- 191
1
vote
1 answer
audio file plays fine but can't add in AVMutableVideoComposition
i'm trying to add audio file selected with MPMediaPickerController to video with AVMutableVideoComposition, but it gives error and doesn't work.
picking audio like this :
func mediaPicker(_ mediaPicker: MPMediaPickerController, didPickMediaItems…

Ramesh Sanghar
- 174
- 1
- 1
- 19
1
vote
0 answers
MPMediaPickerController not showing videos
I'm attempting to allow users of my app (iOS 13) to select purchased videos/movies for playback. From what I have read this can be done with the MPMediaPickerController. The code I have presents the user with the view to select items, but is only…

user1542125
- 593
- 6
- 16
1
vote
0 answers
How to show MPMediaPicker in landscape in Swift 5?
I have this app that is in landscape orientation where users can select songs from the MPMediaPicker View. The problem im having is that when I try to open the music library it doesn't work in landscape orientation, it only works if the app is in…

xcode22
- 118
- 1
- 9
1
vote
0 answers
MPMediaPicker not showing all songs
Usage
I am using a media picker like this
musicPicker = [[MPMediaPickerController alloc] initWithMediaTypes:MPMediaTypeAnyAudio];
musicPicker.showsCloudItems = false;
musicPicker.showsItemsWithProtectedAssets =…

Martin Mlostek
- 2,755
- 1
- 28
- 57
1
vote
2 answers
MPMediaPickerController blank screen, various errors, proper Info.plist file (iOS 13.1.3)
I'm trying to let users choose a song from their music library. So, the problem: MPMediaPickerController displays a white screen and locks the app after a fresh install of the app and only after the user grants permission. Quitting the app and…

Josh Grant
- 471
- 4
- 15
1
vote
1 answer
Failing to use MPMediaPickerController
I am trying to use MPMediaPickerController for the first time, in an iOS application.
Here is the relevant code:
......
import MediaPlayer
class ViewController: UIViewController,...,MPMediaPickerControllerDelegate {
......
var…

Michel
- 10,303
- 17
- 82
- 179