For a project I worked on, I had to create a video capture interface. My goal was to make it look and feel as close to the regular iPhone camera app. One of the control that needed to be recreated for this is the camera button. This button has some very specific behavior that can take a bit of time to recreate. In this blog post, i'll explain how to do it.

At the end of this post, you'll find a link to GitHub to download the whole project.

What does it actually do?

First off, let's look at the button in question