How to select a video with MPMediaPickerController?

Is it possible to pick a video with the MPMediaPickerController or is this only for audio?

Any (home videos) that I add to the iPad appear in the Home VIdeos section of the iPad. Yet, when using the MPMediaPickerController, the videos do not appear in the picker. I've tried the different mediaTypes, but they have no effect.


    func pickVideo() {
       
        #if !(TARGET_IPHONE_SIMULATOR)
           
            let picker = MPMediaPickerController(mediaTypes:.Any)
           
            picker.delegate                   = self
            picker.showsCloudItems            = false
            picker.allowsPickingMultipleItems = true
            picker.prompt                     = "Choose a video"
            picker.modalPresentationStyle     = .PageSheet
            picker.preferredContentSize       = CGSizeMake(500,600)
           
            self.presentViewController(picker, animated: true, completion: nil)
           
        #endif
    }

The simulator doesn't support the Media Player framework, so...not sure what to expect from mediapicker in your example.

It seems to be a bug reported on open radar with id=5059452919087104
(I can't paste the direct link here...)
How to select a video with MPMediaPickerController?
 
 
Q