Enable camera clip thumbnail in UIImagePickerController
Is there a way to display a thumbnail of the camera roll (marked in red below) inside the UIImagePickerController? The correct image shows what the default UIImagePickerController looks like with a camera source.
This is how I represent the camera:
func openCamera() {
if(UIImagePickerController .isSourceTypeAvailable(UIImagePickerControllerSourceType.Camera)) {
picker!.sourceType = UIImagePickerControllerSourceType.Camera
picker!.showsCameraControls = true
picker!.cameraDevice = UIImagePickerControllerCameraDevice.Front
self.presentViewController(picker!, animated: true, completion: nil)
} else {
NSLog("No camera")
openGallary()
}
}
This post claims that it was not possible in 2010, but I hope for new times.
+3
source to share