Choosing a UIImagePickerController for a video does not allow an instance of an MPMoviePlayerViewController instance to work

I have a viewcontroller where I present a UIImagePickerController in popOver. If the user selects a video, then rejects the popover and goes to the next "page (viewcontroller)" and tries to play any movies using the MPMoviePlayerViewController on this page, they cannot do this.

I believe that what happens is that the player displayed in imagepicker is somehow saved, and therefore this new video cannot be played. I correctly rejected the popover and am not getting any errors when trying to play the video.

Has anyone come across something similar? iOS SDK 4.2 iPad .

+5
source share
4 answers

[popViewControllerAnimated collector: YES];

0
source

Have you tried on the device? I hope it will work on the device

+2
source

, .

UIPopoverController.

UIImagePickerController "use", "imagePickerController: didFinishPickingMediaWithInfo:".

popover- , , [aPopOver rejectPopoverAnimated] popoverControllerDidDismissPopover:. [aPopover release] "imagePickerController: didFinishPickingMediaWithInfo:", .

, .

+2

, , .

I went with [picker popToRootViewControllerAnimated: NO], I just don't see the message appear. I am not sure what will happen, or if it will happen at all. I also ended the animation, as I fired the collector at that moment, so it doesn’t matter, and several animations that happen simultaneously in the past caused me problems.

0
source

All Articles