SwiftyCam
NextLevel
Our great sponsors
SwiftyCam | NextLevel | |
---|---|---|
1 | 1 | |
2,055 | 2,147 | |
- | 0.5% | |
0.0 | 4.3 | |
about 2 years ago | 5 months ago | |
Swift | Swift | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SwiftyCam
-
Camera & Video Capture in a SwiftUI project
Unfortunately SwiftUI doesn’t fully support the use of the camera without doing some interop with UIKit. That being said it’s really not too hard and can be adapted from existing examples out there. Just found this one of the Snapchat camera. As for saving a file, take a look at some of the AV capture delegate protocols. They give you functions that let you know when a user has started and ended their capture session and even returns a file url of the output (in some cases you can make it a binary stream so you can save it to wherever you need). Depending on what your app is trying to achieve, you can take the photo and upload it to a backend or save it locally in the file system
NextLevel
What are some alternatives?
YPImagePicker - 📸 Instagram-like image picker & filters for iOS
EFQRCode - A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
FastttCamera - Fasttt and easy camera framework for iOS with customizable filters
ALCameraViewController - A camera view controller with custom image picker and image cropping.
CameraBackground - Show camera layer as a background to any UIView
SCRecorder - iOS camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing
Fusuma - Instagram-like photo browser and a camera feature with a few line of code in Swift.
CameraManager - Simple Swift class to provide all the configurations you need to create custom camera view in your app
CameraEngine
PBJVision - 📸 iOS Media Capture – features touch-to-record video, slow motion, and photography