We asked Google …
How can iOS differentiate a tap for focus from tap for click from an out of focus position.
… and received this reply …
iOS differentiates these three touch intentions (focusing, clicking, and interacting out-of-focus) by measuring touch duration, the presence of UI elements, and hardware-level gesture recognizers.
Here is how the system tells them apart:Tap for Click:
Uses UIControlEventTouchUpInside (or equivalent gesture recognizers). A tap is registered when a finger touches and releases the screen in the same location over a button or active element. It fires an action instantaneously.Tap for Focus: Uses long-press (touch-and-hold) gesture recognizers. If the finger is held down instead of immediately releasing, the system recognizes a “hold” rather than a click. In photography apps, for example, holding locks the focus distance (AE/AF Lock). In system navigation, this brings up the contextual menu.
Tapping Out of Focus: This occurs when a tap misses an interactive element. In iOS, a tap on “dead space” (a blank area) dismisses active elements (like the keyboard), cancels a focused state, or triggers continuous autofocus in the Camera app.
… which satisfied us. So, on a roll, we decided to ask Google …
… and received this reply …
iOS is designed to automatically pause media playback when you receive a phone call. When the call ends, simply swipe down to open your Control Center and tap the Play button on the media controls widget.
Because browser-based media depends on the app’s specific site code to support system background audio, exact behavior can vary depending on the web browser (e.g., Safari, Chrome) and the website you are viewing.
… which satisfied us too. But there the roll ended, because we came upon a rock disguised as an island.
If this was interesting you may be interested in this too.


