version 5.0.0 syntax.
Opened this issue · 0 comments
Rashesh-Bosamiya commented
I am using version 4.1.
self.camera.startRecordingWithOutputUrl(outputURL)
syntax working fine.
When I upgraded to version 5.0.0, the error coming as Missing argument for parameter 'didRecord' in call
at this line. -> self.camera.startRecordingWithOutputUrl(outputURL)
And another error Argument passed to call that takes no arguments
at this line ->
self.camera.stopRecording({(camera, outputFileUrl, error) -> Void in
print(outputFileUrl)
})
So, what is the new syntax for version 5.0.0?