This trick was initially created to make an app for my children (available on appStore for free : "Incredible" App - US/EN/FR version).
This allows to use your back camera as a simple button.
Technically, frames are captured from the back camera, and a simple algorithm is checking the fall of luminosity due to passage of your finger.
Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.