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