LiveCameraView 0.3.3

LiveCameraView 0.3.3

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Mike Kavouras.



  • By
  • Mike Kavouras

LiveCameraView

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(completion: (image: UIImage?) -> Void) {
  // do something
}

Author

Mike Kavouras

License

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