From 6c4094cac6571028eed8302d71e6ce1ab2fdd2ec Mon Sep 17 00:00:00 2001 From: Natalia Terlecka Date: Fri, 8 Jan 2016 12:06:40 +0100 Subject: [PATCH] Ready updated. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 737b760..154bfdf 100755 --- a/README.md +++ b/README.md @@ -51,7 +51,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. +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. ```swift let cameraManager = CameraManager() cameraManager.addPreviewLayerToView(self.cameraView)