v2.2.1
This commit is contained in:
parent
57a66bc7a9
commit
95d2830e8a
|
|
@ -1,12 +1,12 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = "CameraManager"
|
||||
s.version = "2.2.0"
|
||||
s.version = "2.2.1"
|
||||
s.summary = "This is a simple Swift class to provide all the configurations you need to create custom camera view in your app. Just drag, drop and use."
|
||||
s.requires_arc = true
|
||||
s.homepage = "https://github.com/imaginary-cloud/CameraManager"
|
||||
s.license = 'MIT'
|
||||
s.author = { "nelanelanela" => "nterlecka@imaginarycloud.com" }
|
||||
s.source = { :git => "https://github.com/imaginary-cloud/CameraManager.git", :tag => "2.2.0" }
|
||||
s.author = { "torrao" => "rtorrao@imaginarycloud.com" }
|
||||
s.source = { :git => "https://github.com/imaginary-cloud/CameraManager.git", :tag => "2.2.1" }
|
||||
s.social_media_url = 'http://www.imaginarycloud.com/'
|
||||
s.platform = :ios, '8.0'
|
||||
s.source_files = 'camera/CameraManager.swift'
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ github "imaginary-cloud/CameraManager" >= 1.0
|
|||
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. Have in mind that in order to retain the AVCaptureSession you will need to retain cameraManager instance somwhere, ex. as an instance constant.
|
||||
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. Have in mind that in order to retain the AVCaptureSession you will need to retain cameraManager instance somewhere, ex. as an instance constant.
|
||||
```swift
|
||||
let cameraManager = CameraManager()
|
||||
cameraManager.addPreviewLayerToView(self.cameraView)
|
||||
|
|
|
|||
Loading…
Reference in New Issue