- July 26, 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)”)
}
NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...
An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...
With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...
This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...