Posts

Post not yet marked as solved
2 Replies
495 Views
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 }
Posted
by blaine_.
Last updated
.