xinatanil / iOS-camera-button

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Swift 100.0%