Home

Awesome

Lang platform codebeat badge Reviewed by Hound .github/workflows/swift.yml

<img width="192" alt="img" src="https://rawgit.com/stylekit/img/master/vid_edited_2_2mb.gif">

Features:

Description
Records video🎥
takes photos📷
Flash on/off
Front / Back camera↕️
Hold to record video
Tap to take photo👇
Tap to focus / set exposure🔎
Pinch to zoom👌
Looping video/photo preview🔁
Share button🔗
Programatic UI🤖
Doesn't stop Spotify🎶
Stores files in temporary💾
Throw oriented code💣
Persistent app authorisation🚫
Animated record button🔴
Callback based📞

Why use this camera framework

Notes:

Install:

IMPORTANT: Make sure info.plist has these variables

Privacy - Microphone Usage Description   
Privacy - Camera Usage Description  
Privacy - Photo Library Additions Usage Description  

Example:

<img width="300" alt="img" src="https://rawgit.com/stylekit/img/master/hybridcam.jpg">

Example code:

self.view = HybridCamView()
view.camView.onPhotoCaptureComplete = { (image: UIImage?, url: URL?, error: Error?) in
   Swift.print("On photo capture complete \(url)")
}
hybridCamView.camView.onVideoCaptureComplete = { (url: URL?, error: Error?) in
   Swift.print("On Video capture complete \(url)")
}

Todo:

Contributors: