CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Jan 2019 |
Maintained by Aw79.
(fork of JBCameraView)
UIView to show the camera, take a picture, preview it, return UIImage.
Even though an UIImagePickerController allows a custom overlay to override the
default camera controls, it gives you no control over its camera bounds. Instead
it captures a UIImage in full camera resolution, giving you the option to edit
as a second step.
Note: as of v0.3.0, you must specify the camera position before the camera will activate.
pod 'AWCameraView'AWCameraView
UIViewController that implements AWCameraViewDelegate
takePicture on AWCameraView to receive the UIImage on your delegateenableFocusOnTapon AWCameraView orfocusOnPoint on AWCameraView to focus on the given point (0,0) = top-left / (1,1) = bottom-rightAWCameraView *cameraView = [[AWCameraView alloc] initWithFrame:CGRect(320, 320)];
cameraView.delegate = self;
cameraView.position = AWCameraViewPositionBack;
/// Take a picture
[cameraView takePicture];
/// Enable tap-on-focus for camera-view; no need to call 'focusOnPoint'
cameraView.enableFocusOnTap = YES;
/// (Manually) focus on top-left point of camera-view
[cameraView focusOnPoint:CGPointMake(0, 0)];
/// (Manually) focus on bottom-right point of camera-view
[cameraView focusOnPoint:CGPointMake(1, 1)];Please open an issue on this repository.
MIT licensed - see LICENSE file