I've button and want to open a video recorder, but my code only opens photo capture any easy solutions ?
@IBAction func uploadVideoButton(_ sender: UIButton) {
let vc = UIImagePickerController()
vc.sourceType = .camera
vc.allowsEditing = true
vc.delegate = self
present(vc, animated: true)
}