- May 27, 2025
- Mins Read
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 | π |
In order to keep things simple, The UI is CGRect based. Use your own Autolayout distro like SnapKit etc when adding additional UI
.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)”)
}
Light and scrollable view controller for tvOS to present blocks of text Description TvOSTextViewer is a view controller to present ...
TvOSSlider is an implementation ofΒ UISliderΒ for tvOS. Description and usage TvOSSlider palliates missing an implementation of UISlider for tvOS as part ...
TvOSScribble, based on CoreML, mitigates the lack of a physical numpad area in Siri Remote implementing a handwriting gesture recognizer. ...
PIN keyboard for tvOS Description TvOSPinKeyboard is a view controller that allows easily asking for PIN codes in tvOs Requirements ...
πΊ A tvOS button which truncates long text with '... More'. The TvOSMoreButton is a simple view which aims to ...