Skip to content

mikekavouras/LiveCameraView

Repository files navigation

LiveCameraView

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

https://github.com/mikekavouras/LiveCameraView/blob/master/assets/example.gif

Installation

LiveCameraView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "LiveCameraView"

Usage

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
}

Author

Mike Kavouras

License

LiveCameraView is available under the MIT license. See the LICENSE file for more info.