commit
7cc218f385
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue