Skip to content

iOS 11 Record Video & Take Photo Helper Class 📹

License

Notifications You must be signed in to change notification settings

KenanAtmaca/KVideoRecorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

KVideoRecorder

iOS 11 Record Video & Take Photo Helper Class 📹

Use

        recorder = KVideoRecorder(to: self.view)
        recorder.setup(.video) // .video , .photo
Delegate
     extension mainVC: KVideoRecorderDelegate {
         func timer(second: Int) {
        // video second
        }
      }
Usable Functions
        recorder.record(name:)
        recorder.takePhoto()
        recorder.savePhoto(image:)
        recorder.saveVideo(url:)
        recorder.toggleCamera()
        recorder.isExist(name:)
        recorder.delete(name:)
        recorder.vidURL(name:)
        recorder.removeView()
Usable Veriables
        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:URL

License

Usage is provided under the MIT License. See LICENSE for the full details.

About

iOS 11 Record Video & Take Photo Helper Class 📹

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages