I try to use UIImagePickerController to record a video with the camera. Here is my code:
UIImagePickerController
import UIKit; import MobileCoreServices class ViewControlle