Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

otusweb/iOS-camera-button

Repository files navigation

iOS-camera-button

A button that behave the same way as the video camera button in the iOS camera

Preview

Button preview

installation

Using cocoapod

`pod 'iOS-Camera-Button'

Manually

copy cameraButton.swift to your project

usage

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
  • no need to add a height and width contraint, those are added automatically (66*66)

License

iOS-Camera-Button is available under MIT license, see the license file for details

About

A button that behave the same way as the video camera button in the iOS camera

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages