CameraButton
Requirements
- iOS 13.0+
- Xcode 11.3+
- Swift 5+
Preview
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate CameraButton into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'RKCameraButton'
Manually
copy CameraButton.swift
to your project
Usage
code
- init CameraButton with frame
- add a button to your view
storyboard
- add a button to your view
- in the "Identity Inspector" in xCode, change the class to "CameraButton"
- add constraint for the placement of the button
Author
ramiz69, [email protected]
License
CameraButton is available under the MIT license. See LICENSE for details.