Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 487 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 487 Bytes

CameraButton.swift

Usage

  1. Drag the file into your project.
  2. Add a UIButton element via Interface Builder and assign CameraButton class to it.
  3. Or create an instance of CameraButton class via code as like it's a ragular UIButton.
  4. Use it as a regular UIButton for getting button events.

All colors and padding configs are grouped as constants in the class file.