Update README.md

This commit is contained in:
Ricardo Torrão 2016-07-06 14:07:51 +01:00 committed by GitHub
parent c0c55be070
commit 6ce822261d
1 changed files with 2 additions and 2 deletions

View File

@ -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)
})
```