You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
🎥 CameraButtonKit — A customizable camera record button for iOS with long-press recording, animated progress spinner, and tap gesture support. Ideal for short video apps and camera UIs.
A customizable and lightweight camera-style record button for iOS, with support for tap, long-press recording, progress spinner animation, and delegate callbacks.
Features
🎥 Long-press to start recording
🟢 Tap to trigger single-shot action
🌀 Circular animated spinner around button
⏱️ Auto-stop after max duration
⚠️ Delegate warning if recording is too short
🔁 Customizable sizes, colors, and timings
Requirements
iOS 13.0+
Swift 5
Xcode 12 or higher
Installation
This is an Xcode project, so you can directly clone or download the project into your workspace.
You can also change the spinner color by updatingspinnerLayer.strokeColor.
Contributions
We welcome contributions! If you find a bug, have an idea for a new extension, or want to improve the documentation, feel free to fork the repo and create a pull request.
License
This project is licensed under the MIT License - see theLICENSE file for details.
About
🎥 CameraButtonKit — A customizable camera record button for iOS with long-press recording, animated progress spinner, and tap gesture support. Ideal for short video apps and camera UIs.