- Drag the file into your project.
- Add a
UIButton
element via Interface Builder and assignCameraButton
class to it. - Or create an instance of
CameraButton
class via code as like it's a ragularUIButton
. - Use it as a regular
UIButton
for getting button events.
All colors and padding configs are grouped as constants in the class file.