I'm trying to create an app that detects gestures in the background like on the home screen or any other app.
For example, when you swipe down with 3 fingers on your home screen, it should take a screenshot.
I have been searching for answers but couldn't find any. Just to be clear, I don't want anything to be on the screen at all times, the user should not be able to see anything else than their home screen but when they swipe down with three fingers, it will take a screenshot.
I found similar kinds of questions with some solutions but they interfered with other apps : link
This question is almost identical to mine: link