<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: touchDelegate in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582167#M5008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have know the relationship between the methods,but what I need is make&amp;nbsp;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;didTapAtScreenPoint &lt;/STRONG&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;works and at the same time, monitor both drag and tap gesture's start and end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;here is what I'm facing, &amp;nbsp;I'm now using "&lt;SPAN lang="EN-US" style="color: #000000; font-size: 12pt;"&gt;setViewpoint:(AGSViewpoint*)viewpoint duration:(double)duration&lt;/SPAN&gt;" to turn the map with a degree. while if there is a drag or a tap in the turning duration, the turning whill stop, what I want is&amp;nbsp;&lt;SPAN&gt;monitor the gesture that&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;interrupt the turnning and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;continue the turnning. and&amp;nbsp;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;didTapAtScreenPoint &lt;/STRONG&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;is a important method I &amp;nbsp;use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&amp;nbsp;to do other things.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2018 07:09:54 GMT</pubDate>
    <dc:creator>wangchao1</dc:creator>
    <dc:date>2018-12-20T07:09:54Z</dc:date>
    <item>
      <title>touchDelegate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582165#M5006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;the touchDelegate has method “&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;didTapAtScreenPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;” “&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;didTouchDownAtScreenPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;” “&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;didTouchUpAtScreenPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;”. But when I give “&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;completion(YES)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;” to&amp;nbsp;“didTouchDownAtScreenPoint”,&amp;nbsp;“&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;didTapAtScreenPoint” &amp;nbsp;will has no response, and the map can’t be drag.Now I need&amp;nbsp;method “didTapAtScreenPoint” has a response and I need a method to know when a tap or drag gesture start and end and don’t interrupt the gesture. What should I do?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 10:13:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582165#M5006</guid>
      <dc:creator>wangchao1</dc:creator>
      <dc:date>2018-12-19T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: touchDelegate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582166#M5007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you respond&amp;nbsp;with YES to&lt;STRONG&gt; &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/protocol_a_g_s_geo_view_touch_delegate-p.html#a1de57f6495bb056383ec7b986106e52e"&gt;didTouchDownAtScreenPoint&lt;/A&gt;&lt;/STRONG&gt;, you are telling the Runtime that you want to handle the entire tap or&amp;nbsp;drag&amp;nbsp;gesture and so Runtime will not make the map track your finger around the screen. You will then receive &lt;STRONG&gt;didTouchDragToScreenPoint&lt;/STRONG&gt; delegate events until the drag gesture completes with a single&amp;nbsp;&lt;STRONG&gt;didTouchUpAtScreenPoint&lt;/STRONG&gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you respond with NO to &lt;STRONG&gt;didTouchDownAtScreenPoint&lt;/STRONG&gt;&amp;nbsp;(or don't implement the delegate method) then Runtime will handle a&amp;nbsp;drag and move the map to accompany the drag gesture, or handle a&amp;nbsp;tap via the &lt;STRONG&gt;didTapAtScreenPoint&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to detect taps on the map, simply&amp;nbsp;implement&amp;nbsp;the &lt;STRONG&gt;didTapAtScreenPoint&lt;/STRONG&gt; delegate method&amp;nbsp;and don't implement&amp;nbsp;&lt;STRONG&gt;didTouchDownAtScreenPoint&lt;/STRONG&gt; (or implement it to return NO),&lt;STRONG&gt; didTouchDragToScreenPoint &lt;/STRONG&gt;and&lt;STRONG&gt; didTouchUpAtScreenPoint&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 13:46:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582166#M5007</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2018-12-19T13:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: touchDelegate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582167#M5008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have know the relationship between the methods,but what I need is make&amp;nbsp;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;didTapAtScreenPoint &lt;/STRONG&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;works and at the same time, monitor both drag and tap gesture's start and end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;here is what I'm facing, &amp;nbsp;I'm now using "&lt;SPAN lang="EN-US" style="color: #000000; font-size: 12pt;"&gt;setViewpoint:(AGSViewpoint*)viewpoint duration:(double)duration&lt;/SPAN&gt;" to turn the map with a degree. while if there is a drag or a tap in the turning duration, the turning whill stop, what I want is&amp;nbsp;&lt;SPAN&gt;monitor the gesture that&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;interrupt the turnning and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;continue the turnning. and&amp;nbsp;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;didTapAtScreenPoint &lt;/STRONG&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;is a important method I &amp;nbsp;use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&amp;nbsp;to do other things.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 07:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582167#M5008</guid>
      <dc:creator>wangchao1</dc:creator>
      <dc:date>2018-12-20T07:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: touchDelegate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582168#M5009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need to perform some action when the user taps while the map is animating to its new rotation, or do you just need to ensure the tap does not stop the rotation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 18:30:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582168#M5009</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2018-12-21T18:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: touchDelegate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582169#M5010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #313131; background-color: #ffffff; font-size: 12px;"&gt;Actually, I just need to&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;ensure the tap or drag does not stop the rotation, if it stoped &amp;nbsp;I need to&amp;nbsp;&lt;SPAN style="color: #313131; background-color: #ffffff;"&gt;continue the rotation at the time the tap or drag finish.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2018 02:43:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582169#M5010</guid>
      <dc:creator>wangchao1</dc:creator>
      <dc:date>2018-12-22T02:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: touchDelegate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582170#M5011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for the delay in getting back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try disabling the user interactions until the rotation is complete by setting the &lt;STRONG&gt;AGSMapView.interactionOptions.enabled = false&lt;/STRONG&gt; (see &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_common.html#a90465bd2154b0f85aa1a89c1dd50baad"&gt;this&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_interaction_options.html#a2c2fc8957e27ec827ba313570abe9869"&gt;this&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that works for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 04:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/touchdelegate/m-p/582170#M5011</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-01-09T04:03:58Z</dc:date>
    </item>
  </channel>
</rss>

