This commit is contained in:
Simon 2015-05-17 15:56:14 +00:00
parent 9e2249197f
commit 2618a8df95
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ And run `carthage update` to build the dynamic framework.
## How to use
To use it you just add the preview layer to your desired view, you'll get back the state of the camera if it's unavailable, ready or the user denied assess to it.
```swift
CameraManager.sharedInstance.addPreeviewLayerToView(self.cameraView)
CameraManager.sharedInstance.addPreviewLayerToView(self.cameraView)
```
You can set input device to front or back camera:
```swift