iOS 11 Record Video & Take Photo Helper Class 📹
recorder = KVideoRecorder(to: self.view)
recorder.setup(.video) // .video , .photo extension mainVC: KVideoRecorderDelegate {
func timer(second: Int) {
// video second
}
} recorder.record(name:)
recorder.takePhoto()
recorder.savePhoto(image:)
recorder.saveVideo(url:)
recorder.toggleCamera()
recorder.isExist(name:)
recorder.delete(name:)
recorder.vidURL(name:)
recorder.removeView() recorder.isAuth:Bool
recorder.isFocus:Bool
recorder.isZoom:Bool
recorder.isToggle:Bool
recorder.videoDelegate:AVCaptureFileOutputRecordingDelegate
recorder.photoDelegate:AVCapturePhotoCaptureDelegate
recorder.delegate:KVideoRecorderDelegate
recorder.takePhotoImage:UIImage
recorder.videoOutputUrl:URLUsage is provided under the MIT License. See LICENSE for the full details.