<?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: AGSMapServiceInfo not notifying delegate on retrieveLegendInfo in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230713#M2149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good to know that you got it working!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 22:30:42 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2012-07-27T22:30:42Z</dc:date>
    <item>
      <title>AGSMapServiceInfo not notifying delegate on retrieveLegendInfo</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230710#M2146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an instance of AGSMapserviceInfo which I'm trying to use to retrieve legend info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;-(void)queryLegendWithMapServiceInfo:(AGSMapServiceInfo *)msi { &amp;nbsp;&amp;nbsp;&amp;nbsp; if(msi.version &amp;gt;= 10.01) &amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msi.delegate = self; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [msi retrieveLegendInfo]; &amp;nbsp;&amp;nbsp;&amp;nbsp; }else { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(@"Skipping layer [%@]. ArcGIS Service must be version 10 SP1 or above",msi.URL ); &amp;nbsp;&amp;nbsp;&amp;nbsp; } }&amp;nbsp; - (void)mapServiceInfo:(AGSMapServiceInfo *)mapServiceInfo operationDidRetrieveLegendInfo:(NSOperation*)op {&amp;nbsp; NSLog(@"Do stuff"); }&amp;nbsp;&amp;nbsp; - (void)mapServiceInfo:(AGSMapServiceInfo *)mapServiceInfo operation:(NSOperation*)op didFailToRetrieveLegendInfoWithError:(NSError*)error{&amp;nbsp; NSLog(@"Error encountered while fetching legend : %@",error); }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, this doesn't notify the delegate on either the didFailToRetrieveLegendInfoWithError or on the operationDidRetrieveLegendInfo methods. I've checked this in the debugger and under the Allocations instrument, and msi is neither nil or deallocated. Is there another reason why this call wouldn't even give an error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 12:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230710#M2146</guid>
      <dc:creator>DanielMonego</dc:creator>
      <dc:date>2012-07-24T12:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: AGSMapServiceInfo not notifying delegate on retrieveLegendInfo</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230711#M2147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you adopting the AGSMapServiceInfoDelegate protocol in your class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 15:18:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230711#M2147</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-07-24T15:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: AGSMapServiceInfo not notifying delegate on retrieveLegendInfo</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230712#M2148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I resolved the problem outside of this sample - the above code was being called by a NSOperation that was being killed before the AGSMapServiceInfoDelegate received the callbacks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 13:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230712#M2148</guid>
      <dc:creator>DanielMonego</dc:creator>
      <dc:date>2012-07-27T13:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: AGSMapServiceInfo not notifying delegate on retrieveLegendInfo</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230713#M2149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good to know that you got it working!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 22:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsmapserviceinfo-not-notifying-delegate-on/m-p/230713#M2149</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-07-27T22:30:42Z</dc:date>
    </item>
  </channel>
</rss>

