<?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 identifyLayers Function Problem in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602737#M5289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having issues with the identifyLayers function. &amp;nbsp;Every time I call it, i consistently get back the same result. &amp;nbsp;For example the same information is coming back whether I click on a different part of the screen or not. &amp;nbsp;It generally is whatever the first result was that came back out of the function. &amp;nbsp;I've followed the sample code available out of the samples app on the app store, but cannot get it to work. &amp;nbsp;I'm using the most recent version of the SDK. &amp;nbsp;Below is the code that I'm calling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d31895;"&gt;func&lt;/SPAN&gt; geoView(&lt;SPAN style="color: #d31895;"&gt;_&lt;/SPAN&gt; geoView: &lt;SPAN style="color: #23ff83;"&gt;AGSGeoView&lt;/SPAN&gt;, didTapAtScreenPoint screenPoint: &lt;SPAN style="color: #00a0ff;"&gt;CGPoint&lt;/SPAN&gt;, mapPoint: &lt;SPAN style="color: #23ff83;"&gt;AGSPoint&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;identifyLayers&lt;/SPAN&gt;(screenPoint)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d31895;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;func&lt;/SPAN&gt; identifyLayers(&lt;SPAN style="color: #d31895;"&gt;_&lt;/SPAN&gt; screen: &lt;SPAN style="color: #00a0ff;"&gt;CGPoint&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;let&lt;/SPAN&gt; passedInLayer: &lt;SPAN style="color: #23ff83;"&gt;AGSLayer&lt;/SPAN&gt; = &lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;layer&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(screen)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;mapsView&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;identifyLayer&lt;/SPAN&gt;(passedInLayer, screenPoint: screen, tolerance: &lt;SPAN style="color: #786dff;"&gt;12&lt;/SPAN&gt;, returnPopupsOnly: &lt;SPAN style="color: #d31895;"&gt;false&lt;/SPAN&gt;, maximumResults: &lt;SPAN style="color: #786dff;"&gt;10&lt;/SPAN&gt;) { (identifyLayerResult: &lt;SPAN style="color: #23ff83;"&gt;AGSIdentifyLayerResult&lt;/SPAN&gt;) -&amp;gt; &lt;SPAN style="color: #00a0ff;"&gt;Void&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;in&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;let&lt;/SPAN&gt; error = identifyLayerResult.&lt;SPAN style="color: #23ff83;"&gt;error&lt;/SPAN&gt; {&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(error)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;return&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;handleIdentifyResults&lt;/SPAN&gt;(identifyLayerResult)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;}&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d31895;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;func&lt;/SPAN&gt; handleIdentifyResults(&lt;SPAN style="color: #d31895;"&gt;_&lt;/SPAN&gt; results: &lt;SPAN style="color: #23ff83;"&gt;AGSIdentifyLayerResult&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(results.&lt;SPAN style="color: #23ff83;"&gt;layerContent&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;name&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(results.&lt;SPAN style="color: #23ff83;"&gt;sublayerResults&lt;/SPAN&gt;.&lt;SPAN style="color: #00a0ff;"&gt;count&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="color: #23ff83; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(results.&lt;/SPAN&gt;sublayerResults&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;layerContent&lt;SPAN&gt;.&lt;/SPAN&gt;name&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #23ff83; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(results.&lt;/SPAN&gt;sublayerResults&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;geoElements&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #23ff83; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(results.&lt;/SPAN&gt;sublayerResults&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;geoElements&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;attributes&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ff2c38;"&gt;"ParcelFormatted"&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;All of this code ends returning the same value for the ParcelFormatted field out of the layer.&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2019 18:33:13 GMT</pubDate>
    <dc:creator>GregoryPierce</dc:creator>
    <dc:date>2019-01-25T18:33:13Z</dc:date>
    <item>
      <title>identifyLayers Function Problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602737#M5289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having issues with the identifyLayers function. &amp;nbsp;Every time I call it, i consistently get back the same result. &amp;nbsp;For example the same information is coming back whether I click on a different part of the screen or not. &amp;nbsp;It generally is whatever the first result was that came back out of the function. &amp;nbsp;I've followed the sample code available out of the samples app on the app store, but cannot get it to work. &amp;nbsp;I'm using the most recent version of the SDK. &amp;nbsp;Below is the code that I'm calling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d31895;"&gt;func&lt;/SPAN&gt; geoView(&lt;SPAN style="color: #d31895;"&gt;_&lt;/SPAN&gt; geoView: &lt;SPAN style="color: #23ff83;"&gt;AGSGeoView&lt;/SPAN&gt;, didTapAtScreenPoint screenPoint: &lt;SPAN style="color: #00a0ff;"&gt;CGPoint&lt;/SPAN&gt;, mapPoint: &lt;SPAN style="color: #23ff83;"&gt;AGSPoint&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;identifyLayers&lt;/SPAN&gt;(screenPoint)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d31895;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;func&lt;/SPAN&gt; identifyLayers(&lt;SPAN style="color: #d31895;"&gt;_&lt;/SPAN&gt; screen: &lt;SPAN style="color: #00a0ff;"&gt;CGPoint&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;let&lt;/SPAN&gt; passedInLayer: &lt;SPAN style="color: #23ff83;"&gt;AGSLayer&lt;/SPAN&gt; = &lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;layer&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(screen)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;mapsView&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;identifyLayer&lt;/SPAN&gt;(passedInLayer, screenPoint: screen, tolerance: &lt;SPAN style="color: #786dff;"&gt;12&lt;/SPAN&gt;, returnPopupsOnly: &lt;SPAN style="color: #d31895;"&gt;false&lt;/SPAN&gt;, maximumResults: &lt;SPAN style="color: #786dff;"&gt;10&lt;/SPAN&gt;) { (identifyLayerResult: &lt;SPAN style="color: #23ff83;"&gt;AGSIdentifyLayerResult&lt;/SPAN&gt;) -&amp;gt; &lt;SPAN style="color: #00a0ff;"&gt;Void&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;in&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;let&lt;/SPAN&gt; error = identifyLayerResult.&lt;SPAN style="color: #23ff83;"&gt;error&lt;/SPAN&gt; {&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(error)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;return&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #d31895;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;handleIdentifyResults&lt;/SPAN&gt;(identifyLayerResult)&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;}&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d31895;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color: #d31895;"&gt;func&lt;/SPAN&gt; handleIdentifyResults(&lt;SPAN style="color: #d31895;"&gt;_&lt;/SPAN&gt; results: &lt;SPAN style="color: #23ff83;"&gt;AGSIdentifyLayerResult&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(results.&lt;SPAN style="color: #23ff83;"&gt;layerContent&lt;/SPAN&gt;.&lt;SPAN style="color: #23ff83;"&gt;name&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;(results.&lt;SPAN style="color: #23ff83;"&gt;sublayerResults&lt;/SPAN&gt;.&lt;SPAN style="color: #00a0ff;"&gt;count&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="color: #23ff83; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(results.&lt;/SPAN&gt;sublayerResults&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;layerContent&lt;SPAN&gt;.&lt;/SPAN&gt;name&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #23ff83; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(results.&lt;/SPAN&gt;sublayerResults&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;geoElements&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #23ff83; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00a0ff;"&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(results.&lt;/SPAN&gt;sublayerResults&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;geoElements&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #786dff;"&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;attributes&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ff2c38;"&gt;"ParcelFormatted"&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;All of this code ends returning the same value for the ParcelFormatted field out of the layer.&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #ffffff; background-color: #000000; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 18:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602737#M5289</guid>
      <dc:creator>GregoryPierce</dc:creator>
      <dc:date>2019-01-25T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: identifyLayers Function Problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602738#M5290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's hard to say what's wrong without having tried your service, but can you provide some additional information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Are there overlapping features where you tap on your map?&lt;/P&gt;&lt;P&gt;- Which device are you using?&lt;/P&gt;&lt;P&gt;- Is it possible to share your service, if not, can you see if you can reproduce the problem with the service in the samples app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand the problem correctly, you get incorrect results on identify, is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suganya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 20:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602738#M5290</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2019-01-25T20:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: identifyLayers Function Problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602739#M5291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suganya,&lt;/P&gt;&lt;P&gt;Thanks for responding. &amp;nbsp;I do not have any overlapping features on the map, it is a simple map with a basemap of with the imagery with labels vector and and AGSArcGISMapImageLayer. &amp;nbsp;I'm using an iPad Air 2 to test on. &amp;nbsp;I can look into sharing the service if you'd like to test it. &amp;nbsp;It is publicly available. &amp;nbsp;I'm testing right now on a new application with the service in the samples app. &amp;nbsp;And yes, I am getting the correct results back the first time I run the identify, but not on subsequent times, it simply returns the values from the first time I ran the identify&amp;nbsp;every time. &amp;nbsp;Sometimes those first times persist through builds. &amp;nbsp;Super weird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 20:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602739#M5291</guid>
      <dc:creator>GregoryPierce</dc:creator>
      <dc:date>2019-01-25T20:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: identifyLayers Function Problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602740#M5292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested the service in the sample in a stand alone application using the same identify method as you did, and I get correct results. Since this is a map image layer, I wonder if you are checking the sublayers for the results?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the code I used in its entirety (as a text doc).&amp;nbsp;Let me know how it&amp;nbsp;works against your service&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suganya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 23:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602740#M5292</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2019-01-25T23:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: identifyLayers Function Problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602741#M5293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suganya,&lt;/P&gt;&lt;P&gt;Thank you for your assistance. &amp;nbsp;It turns out there was something wrong with our map service. &amp;nbsp;I appreciate your responses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2019 20:01:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/identifylayers-function-problem/m-p/602741#M5293</guid>
      <dc:creator>GregoryPierce</dc:creator>
      <dc:date>2019-01-28T20:01:19Z</dc:date>
    </item>
  </channel>
</rss>

