To run the example project, clone the repo, and run pod install
from the Example directory first.
LiveCameraView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "LiveCameraView"
Just drop a UIView
in your storyboard and change the class to LiveCameraView
. All done.
Don't use storyboards? Instantiate an instance of LiveCameraView
and add it to a view. All done.
Switch the camera
// double tap the view
Capture a still
cameraView.captureStill { image in
// do something
}
Mike Kavouras
LiveCameraView is available under the MIT license. See the LICENSE file for more info.