{"id":73947,"date":"2026-07-26T03:01:00","date_gmt":"2026-07-25T17:01:00","guid":{"rendered":"https:\/\/www.rjmprogramming.com.au\/ITblog\/?p=73947"},"modified":"2026-07-23T17:29:18","modified_gmt":"2026-07-23T07:29:18","slug":"seek-and-ye-shall-find-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/seek-and-ye-shall-find-tutorial\/","title":{"rendered":"Seek and Ye Shall Find Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/seek_and_find.gif\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Seek and Ye Shall Find Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/seek_and_find.gif\" title=\"Seek and Ye Shall Find Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">Seek and Ye Shall Find Tutorial<\/p><\/div>\n<p>We asked Google &#8230;<\/p>\n<p><code cite='https:\/\/www.google.com\/search?q=How+can+iOS+differentiate+a+tap+for+focus+from+tap+for+click+from+an+out+of+focus+position.&#038;rlz=1C5OZZY_en&#038;oq=How+can+iOS+differentiate+a+tap+for+focus+from+tap+for+click+from+an+out+of+focus+position.&#038;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRiPAjIHCAIQIRiPAjIHCAMQIRiPAtIBBzY3N2owajeoAgCwAgA&#038;sourceid=chrome&#038;source=chrome.ob&#038;ie=UTF-8'><br \/>\n<a target=\"_blank\" title='How can iOS differentiate a tap for focus from tap for click from an out of focus position.' href='https:\/\/www.google.com\/search?q=How+can+iOS+differentiate+a+tap+for+focus+from+tap+for+click+from+an+out+of+focus+position.&#038;rlz=1C5OZZY_en&#038;oq=How+can+iOS+differentiate+a+tap+for+focus+from+tap+for+click+from+an+out+of+focus+position.&#038;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRiPAjIHCAIQIRiPAjIHCAMQIRiPAtIBBzY3N2owajeoAgCwAgA&#038;sourceid=chrome&#038;source=chrome.ob&#038;ie=UTF-8' rel=\"noopener\">How can iOS differentiate a tap for focus from tap for click from an out of focus position.<\/a><br \/>\n<\/code><\/p>\n<p> &#8230; and received this reply &#8230;<\/p>\n<blockquote cite='https:\/\/www.google.com\/search?q=How+can+iOS+differentiate+a+tap+for+focus+from+tap+for+click+from+an+out+of+focus+position.&#038;rlz=1C5OZZY_en&#038;oq=How+can+iOS+differentiate+a+tap+for+focus+from+tap+for+click+from+an+out+of+focus+position.&#038;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRiPAjIHCAIQIRiPAjIHCAMQIRiPAtIBBzY3N2owajeoAgCwAgA&#038;sourceid=chrome&#038;source=chrome.ob&#038;ie=UTF-8'><p>\niOS 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.<br \/>\n<br \/>\nHere is how the system tells them apart:<\/p>\n<p>Tap for Click:<br \/>\n<br \/>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.<\/p>\n<p>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 &#8220;hold&#8221; 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.<\/p>\n<p>Tapping Out of Focus: This occurs when a tap misses an interactive element. In iOS, a tap on &#8220;dead space&#8221; (a blank area) dismisses active elements (like the keyboard), cancels a focused state, or triggers continuous autofocus in the Camera app.\n<\/p><\/blockquote>\n<p> &#8230; which satisfied us.  So, on a roll, we decided to ask Google &#8230;<\/p>\n<p><code cite='https:\/\/www.google.com\/search?q=How+can+iOS+stop+play+when+a+phone+call+comes+in+and+resume+it+when+playing+the+media+from+a+web+browser+app.&#038;sca_esv=f579c735c267b347&#038;rlz=1C5OZZY_en&#038;sxsrf=APpeQnsdPu2YX2xA3mCngNdMbg7kdXc3EQ%3A1784166603052&#038;ei=yzhYau7hAvPl2roP56uiyQk&#038;biw=1573&#038;bih=789&#038;ved=0ahUKEwiu8-DEitaVAxXzslYBHeeVKJkQ4dUDCBI&#038;uact=5&#038;oq=How+can+iOS+stop+play+when+a+phone+call+comes+in+and+resume+it+when+playing+the+media+from+a+web+browser+app.&#038;gs_lp=Egxnd3Mtd2l6LXNlcnAibUhvdyBjYW4gaU9TIHN0b3AgcGxheSB3aGVuIGEgcGhvbmUgY2FsbCBjb21lcyBpbiBhbmQgcmVzdW1lIGl0IHdoZW4gcGxheWluZyB0aGUgbWVkaWEgZnJvbSBhIHdlYiBicm93c2VyIGFwcC5IAFAAWABwAHgBkAEAmAEAoAEAqgEAuAEDyAEA-AEC-AEBmAIAoAIAmAMAkgcAoAcAsgcAuAcAwgcAyAcAgAgB&#038;sclient=gws-wiz-serp'><br \/>\n<a target=\"_blank\" title='How can iOS stop play when a phone call comes in and resume it when playing the media from a web browser app.' href='https:\/\/www.google.com\/search?q=How+can+iOS+stop+play+when+a+phone+call+comes+in+and+resume+it+when+playing+the+media+from+a+web+browser+app.&#038;sca_esv=f579c735c267b347&#038;rlz=1C5OZZY_en&#038;sxsrf=APpeQnsdPu2YX2xA3mCngNdMbg7kdXc3EQ%3A1784166603052&#038;ei=yzhYau7hAvPl2roP56uiyQk&#038;biw=1573&#038;bih=789&#038;ved=0ahUKEwiu8-DEitaVAxXzslYBHeeVKJkQ4dUDCBI&#038;uact=5&#038;oq=How+can+iOS+stop+play+when+a+phone+call+comes+in+and+resume+it+when+playing+the+media+from+a+web+browser+app.&#038;gs_lp=Egxnd3Mtd2l6LXNlcnAibUhvdyBjYW4gaU9TIHN0b3AgcGxheSB3aGVuIGEgcGhvbmUgY2FsbCBjb21lcyBpbiBhbmQgcmVzdW1lIGl0IHdoZW4gcGxheWluZyB0aGUgbWVkaWEgZnJvbSBhIHdlYiBicm93c2VyIGFwcC5IAFAAWABwAHgBkAEAmAEAoAEAqgEAuAEDyAEA-AEC-AEBmAIAoAIAmAMAkgcAoAcAsgcAuAcAwgcAyAcAgAgB&#038;sclient=gws-wiz-serp' rel=\"noopener\">How can iOS stop play when a phone call comes in and resume it when playing the media from a web browser app.<\/a><br \/>\n<\/code><\/p>\n<p> &#8230; and received this reply &#8230;<\/p>\n<blockquote cite='https:\/\/www.google.com\/search?q=How+can+iOS+stop+play+when+a+phone+call+comes+in+and+resume+it+when+playing+the+media+from+a+web+browser+app.&#038;sca_esv=f579c735c267b347&#038;rlz=1C5OZZY_en&#038;sxsrf=APpeQnsdPu2YX2xA3mCngNdMbg7kdXc3EQ%3A1784166603052&#038;ei=yzhYau7hAvPl2roP56uiyQk&#038;biw=1573&#038;bih=789&#038;ved=0ahUKEwiu8-DEitaVAxXzslYBHeeVKJkQ4dUDCBI&#038;uact=5&#038;oq=How+can+iOS+stop+play+when+a+phone+call+comes+in+and+resume+it+when+playing+the+media+from+a+web+browser+app.&#038;gs_lp=Egxnd3Mtd2l6LXNlcnAibUhvdyBjYW4gaU9TIHN0b3AgcGxheSB3aGVuIGEgcGhvbmUgY2FsbCBjb21lcyBpbiBhbmQgcmVzdW1lIGl0IHdoZW4gcGxheWluZyB0aGUgbWVkaWEgZnJvbSBhIHdlYiBicm93c2VyIGFwcC5IAFAAWABwAHgBkAEAmAEAoAEAqgEAuAEDyAEA-AEC-AEBmAIAoAIAmAMAkgcAoAcAsgcAuAcAwgcAyAcAgAgB&#038;sclient=gws-wiz-serp'><p>\niOS 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.<\/p>\n<p>Because browser-based media depends on the app&#8217;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.\n<\/p><\/blockquote>\n<p> &#8230; which satisfied us too.  But there the <i>roll<\/i> ended, because we came upon a <i>rock<\/i> disguised as an <span><a target=\"_blank\" title='?' class=\"audioytplay\" href='https:\/\/www.youtube.com\/watch?v=https:\/\/www.youtube.com\/watch?v=1C5OZZY_' rel=\"noopener\">island<\/a><\/span>.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d30150' onclick='var dv=document.getElementById(\"d30150\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/photobooth\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d30150' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We asked Google &#8230; How can iOS differentiate a tap for focus from tap for click from an out of focus position. &#8230; and received this reply &#8230; iOS differentiates these three touch intentions (focusing, clicking, and interacting out-of-focus) by &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/seek-and-ye-shall-find-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-73947","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/73947"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=73947"}],"version-history":[{"count":5,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/73947\/revisions"}],"predecessor-version":[{"id":73952,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/73947\/revisions\/73952"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=73947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=73947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=73947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}