From 6ce822261db46ea74aaa815124945e9021b55dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Torr=C3=A3o?= Date: Wed, 6 Jul 2016 14:07:51 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d2257e..ba4cce1 100755 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ cameraManager.showErrorBlock = { (erTitle: String, erMessage: String) -> Void in To shoot image all you need to do is call: ```swift -cameraManager.capturePictureWithCompletition({ (image, error) -> Void in +cameraManager.capturePictureWithCompletion({ (image, error) -> Void in self.myImage = image }) ``` @@ -149,7 +149,7 @@ cameraManager.capturePictureWithCompletition({ (image, error) -> Void in To record video you do: ```swift cameraManager.startRecordingVideo() -cameraManager.stopRecordingVideo({ (videoURL, error) -> Void in +cameraManager.stopVideoRecording({ (videoURL, error) -> Void in NSFileManager.defaultManager().copyItemAtURL(videoURL, toURL: self.myVideoURL, error: &error) }) ```