mikeghtester / LiveCameraView

Hassle free UIView with live front/back camera stream.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Hassle free UIView with live front/back camera stream.

License:MIT License


Languages

Language:Shell 65.3%Language:Swift 26.8%Language:Objective-C 4.7%Language:Ruby 3.2%