Questions tagged [mpmediapickercontroller]
176 questions
0
votes
3 answers
How to reduce the MPMediaPickerController loading time?
In my project I am using MPMediaPickerController to pick a file from the device music library. I am using following piece of code for displaying the media picker.
MPMediaPickerController *mediaPicker = [[MPMediaPickerController alloc]…

AloSwift
- 407
- 6
- 24
0
votes
3 answers
Dismiss two present ModalViewControllers (MPMediaPickerController and UIViewController) at the same time
I have a strange problem while dismissing two modalviewcontrollers.
What I am doing is I have a viewControllers A and B. I am presentingmodalviewController B on A. And then On B I am presenting MPMediaPickerController on B. Now my issue is After…

SRI
- 1,514
- 21
- 39
0
votes
1 answer
How to access MPMediaPickerController navigationController?
I want to be able to access the navigationController of MPMediaPickerController so that I can change 'navigationController.tabBarController.selectedIndex'. However it seems like I cannot access it. In iOS 7, the default tab for a…

thisiscrazy4
- 1,905
- 8
- 35
- 58
0
votes
2 answers
Pick video file from iPhone local library
I know how to pick audio file (MPMediaPickerController), but how to pick video file???
thanks

Dmitry
- 1,035
- 2
- 14
- 27
0
votes
1 answer
Default to songs tab when presenting MPMediaPickerController
When I present a MPMediaPickerController in iOS7, the default tab is the Playlists tab.
How do I change the default tab to the Songs tab?
I have searched everywhere and I cannot find a solution, but I know it is possible because I see that other…

thisiscrazy4
- 1,905
- 8
- 35
- 58
0
votes
1 answer
Create a custom MediaPickerController
I was tasked to create a music player application that is sort of like a DJ app, and when the add music button is clicked, it needs to show the list of all the songs just like the native MediaPickerController but with added functionalities like…

Bryan P
- 4,142
- 5
- 41
- 60
0
votes
0 answers
MPMediaPickerController init works on device, but not in emulator (_UIViewServiceInterfaceErrorDomain Code=0)
When I try to initialize an instance of MPMediaPickerController, I get this error:
Could not request view controller: Error Domain=_UIViewServiceInterfaceErrorDomain Code=0 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain…

hoodlma
- 56
- 2
0
votes
2 answers
How to determine a mediaplayer has stopped playing in ios
I need to show images and videos as the slide show in an application. I have kept the images and videos link in an array and determining which is video and which is image, and set the slide show timings according to the video time length and 2 sec…

Manab Kumar Mal
- 20,788
- 5
- 31
- 43
0
votes
2 answers
wait till media selection in iPhone
I am working with the MPMediaPickerController controller.
Right now I am able to select an item from the gallery using the following code:
MPMediaPickerController *controller = [[MPMediaPickerController…

user3057042
- 9
- 1
0
votes
2 answers
Status bar appears again after showing MPMediaPickerController modal
I hid status bar in my app by setting [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone]; and by this code:
- (BOOL)prefersStatusBarHidden
{
return YES;
}
By when I show the…

Sergey
- 47,222
- 25
- 87
- 129
0
votes
1 answer
MPMediaPickerController doesn't show podcasts or audiobooks in iOS 7
We have an app that works fine on iOS 5 and iOS 6, which allows user to pick some media to play with MPMediaPickerController. In these versions, the user could also pick audiobooks and podcasts in addition to songs.
In iOS 7, however, there are only…

Axarydax
- 16,353
- 21
- 92
- 151
0
votes
1 answer
iOS - MPMediaPickerController doesn't work with videos
I recently found this question about MPMediaPickerController not recognizing videos, which is exactly what I'm trying to do: let the user select videos from their iPod/Video library. (Not user-filmed videos, I mean iTunes TV shows and such). That…

Nerrolken
- 1,975
- 3
- 24
- 53
0
votes
1 answer
How can I use a media picker for settings?
I'm a new developer and I'm getting to grips with audio in iOS.
This will be tricky to explain, but I'll give it a go. I'm using a media picker so that the user can select a song from their library. I don't want there to be a queue or for it to play…

Invalid Memory
- 717
- 7
- 23
0
votes
1 answer
ios : how to play song in app background from gallary
I am developing an app in which user can select a sound file from device gallery and it will start playing in app background while app runs.
once selected it will run every time when app runs till user again browse and changes sound file.
do I need…

Praful Kadam
- 372
- 6
- 22
0
votes
1 answer
Exporting video from MPMediaPickerController - no audio
I am using an MPMediaPickerController to allow the user to select videos and songs from the library on the device. I allow this with the: initWithMediaTypes:MPMediaTypeAny initialization for the picker. The user can then play the song or video…

svguerin3
- 2,433
- 3
- 29
- 53