Video and photo camera for iOS
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 | π |
.package(url: "https://github.com/eonist/HybridCamera.git", .branch("master"))
HybridCamera.xcodeproj
IMPORTANT: Make sure info.plist has these variables
Privacy - Microphone Usage Description
Privacy - Camera Usage Description
Privacy - Photo Library Additions Usage Description
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)")
}