I captured the video in the iPhone 3GS using UiImagePickerController, but the video camera on the same app iPhone 4 is not connected , It is also working on iPhone 3GS (OS4).
The following is the code that I used to attach the video camera.
UIImagePickerController * imagePicker = [[UIImagePickerController alloc] in this]; ImagePicker.mediaTypes = [Object with NSArray array: (NSString *) kUTTypeMovie]; ImagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; ImagePicker.delegate = self; [Self-Present Model View Controller: Animated Picture Picture: Yes]; [Image publication];
You can use your UIImagePickerControllerCameraDevice to either UIImagePickerControllerCameraDeviceRear < or UIImagePickerControllerCameraDeviceFront In addition,
UIImagePickerControllerCameraCaptureMode UIImagePickerControllerCameraCaptureModeVideo / P>
Comments
Post a Comment