<?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 Problems with showing AGSWMTSLayer on iOS in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6382#M68</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Esri Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I experience some issues while&amp;nbsp;loading a AGSWMTSLayer on iOS devices. The only thing I see is a grid which shows a user's location. Since the production URL of the map that I use in my project is under NDA, I cannot post it publicly&amp;nbsp;so I've found an equivalent one, which&amp;nbsp;does not work but has the same structure. Here is the code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class=""&gt;#define wmtsURL @&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.orka-mv.de%2Fgeodienste%2Forkamv%2Fwmts%2F1.0.0%2FWMTSCapabilities.xml" target="_blank"&gt;https://www.orka-mv.de/geodienste/orkamv/wmts/1.0.0/WMTSCapabilities.xml&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&lt;/SPAN&gt;
&lt;SPAN class=""&gt;- (&lt;/SPAN&gt;&lt;SPAN class=""&gt;void&lt;/SPAN&gt;&lt;SPAN class=""&gt;)viewDidLoad&lt;/SPAN&gt;
&lt;SPAN class=""&gt;{&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;super&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;viewDidLoad&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;layerDelegate&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [[&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSWMTSInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;alloc&lt;/SPAN&gt;&lt;SPAN class=""&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;initWithURL&lt;/SPAN&gt;&lt;SPAN class=""&gt;: [&lt;/SPAN&gt;&lt;SPAN class=""&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;URLWithString&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsURL&lt;/SPAN&gt;&lt;SPAN class=""&gt;]];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;delegate&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;}&lt;/SPAN&gt;
&lt;SPAN class=""&gt;- (&lt;/SPAN&gt;&lt;SPAN class=""&gt;void&lt;/SPAN&gt;&lt;SPAN class=""&gt;) wmtsInfoDidLoad:(&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSWMTSInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; *) wmtsInfo{&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;NSArray&lt;/SPAN&gt;&lt;SPAN class=""&gt; *layerInfos = [wmtsInfo &lt;/SPAN&gt;&lt;SPAN class=""&gt;layerInfos&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSWMTSLayerInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; *layerInfo = [layerInfos &lt;/SPAN&gt;&lt;SPAN class=""&gt;objectAtIndex&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [wmtsInfo &lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsLayerWithLayerInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt;:layerInfo &lt;/SPAN&gt;&lt;SPAN class=""&gt;andSpatialReference&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;nil&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;addMapLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;withName&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;@"wmts Layer"&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also made an equivalent code for Android and a map is loaded. However I still struggle with the iOS ArcGIS SDK. Does anyone experience the same issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 15:54:15 GMT</pubDate>
    <dc:creator>AmelMahmuzic</dc:creator>
    <dc:date>2021-12-12T15:54:15Z</dc:date>
    <item>
      <title>Problems with showing AGSWMTSLayer on iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6382#M68</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Esri Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I experience some issues while&amp;nbsp;loading a AGSWMTSLayer on iOS devices. The only thing I see is a grid which shows a user's location. Since the production URL of the map that I use in my project is under NDA, I cannot post it publicly&amp;nbsp;so I've found an equivalent one, which&amp;nbsp;does not work but has the same structure. Here is the code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class=""&gt;#define wmtsURL @&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.orka-mv.de%2Fgeodienste%2Forkamv%2Fwmts%2F1.0.0%2FWMTSCapabilities.xml" target="_blank"&gt;https://www.orka-mv.de/geodienste/orkamv/wmts/1.0.0/WMTSCapabilities.xml&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&lt;/SPAN&gt;
&lt;SPAN class=""&gt;- (&lt;/SPAN&gt;&lt;SPAN class=""&gt;void&lt;/SPAN&gt;&lt;SPAN class=""&gt;)viewDidLoad&lt;/SPAN&gt;
&lt;SPAN class=""&gt;{&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;super&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;viewDidLoad&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;layerDelegate&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [[&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSWMTSInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;alloc&lt;/SPAN&gt;&lt;SPAN class=""&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;initWithURL&lt;/SPAN&gt;&lt;SPAN class=""&gt;: [&lt;/SPAN&gt;&lt;SPAN class=""&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;URLWithString&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsURL&lt;/SPAN&gt;&lt;SPAN class=""&gt;]];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;delegate&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;}&lt;/SPAN&gt;
&lt;SPAN class=""&gt;- (&lt;/SPAN&gt;&lt;SPAN class=""&gt;void&lt;/SPAN&gt;&lt;SPAN class=""&gt;) wmtsInfoDidLoad:(&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSWMTSInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; *) wmtsInfo{&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;NSArray&lt;/SPAN&gt;&lt;SPAN class=""&gt; *layerInfos = [wmtsInfo &lt;/SPAN&gt;&lt;SPAN class=""&gt;layerInfos&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSWMTSLayerInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt; *layerInfo = [layerInfos &lt;/SPAN&gt;&lt;SPAN class=""&gt;objectAtIndex&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [wmtsInfo &lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsLayerWithLayerInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt;:layerInfo &lt;/SPAN&gt;&lt;SPAN class=""&gt;andSpatialReference&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;nil&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;addMapLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;wmtsLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;withName&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;@"wmts Layer"&lt;/SPAN&gt;&lt;SPAN class=""&gt;];&lt;/SPAN&gt;
&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also made an equivalent code for Android and a map is loaded. However I still struggle with the iOS ArcGIS SDK. Does anyone experience the same issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 15:54:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6382#M68</guid>
      <dc:creator>AmelMahmuzic</dc:creator>
      <dc:date>2021-12-12T15:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with showing AGSWMTSLayer on iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6383#M69</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Amel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take a look about this github sample that using Objective-C with 10.2.5 SDK to load WMTSLayer:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/goldenlimit/esri-sample-project/tree/master/iOS_Runtime/Read_Offline_GDB_With_WMTSLayer_ObjectiveC" title="https://github.com/goldenlimit/esri-sample-project/tree/master/iOS_Runtime/Read_Offline_GDB_With_WMTSLayer_ObjectiveC" rel="nofollow noopener noreferrer" target="_blank"&gt;esri-sample-project/iOS_Runtime/Read_Offline_GDB_With_WMTSLayer_ObjectiveC at master · goldenlimit/esri-sample-project ·…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you missing the tileMarixSet for layerInfo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; &lt;SPAN class="comment token"&gt;//Triggered by wmtsInfo did load, get populate all the wmtsLayer info&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NSArray &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;layerInfos &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;wmtsInfo layerInfos&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//Since third party wmts service, we need to get useful information from the xml file. &lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//The XML file content an arry of layers, therefore in order to view one specific tile. &lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//We need to load one element from the arry.&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//Get layerInfo and spatial reference from tileMatrixSet&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSWMTSLayerInfo &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;layerInfo &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; layerInfos&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;tileMatrixSet &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; layerInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;tileMatrixSetIds&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSWMTSLayer &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;wmtsLayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;wmtsInfo wmtsLayerWithLayerInfo&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;layerInfo andSpatialReference&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;nil&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;NSLog&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;@&lt;SPAN class="string token"&gt;"WMTSLayer: %@"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; wmtsLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatialReference&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6383#M69</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2021-12-10T20:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with showing AGSWMTSLayer on iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6384#M70</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yue Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your response. Even if I set the tileMatrixSet property, it still does not work. Did you try to run your code snippet with the url that I provided?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Amel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 09:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6384#M70</guid>
      <dc:creator>AmelMahmuzic</dc:creator>
      <dc:date>2017-04-17T09:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with showing AGSWMTSLayer on iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6385#M71</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/36378"&gt;Amel Mahmuzic&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tried. I would recommend use &lt;A class="link-titled" href="https://www.charlesproxy.com/" title="https://www.charlesproxy.com/"&gt;Charles Web Debugging Proxy • HTTP Monitor / HTTP Proxy / HTTPS &amp;amp; SSL Proxy / Reverse Proxy&lt;/A&gt;&amp;nbsp;, a proxy tool to help you check what kind of requests that you send from either your phone or simulator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You want to make sure is when checking the request is it return 200 or 4xx, 5xx error. Based on the requests you will get more insight what's going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Do you only load this AGSWMTSLayeror you have other featureLayers load as well? The spatial reference also may causing the AGSWMTSLayer not show up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 16:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6385#M71</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2017-04-17T16:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with showing AGSWMTSLayer on iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6386#M72</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yue Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles are&amp;nbsp;Wireshark were the first two applications that I tried.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;1. You want to make sure is when checking the request is it return 200 or 4xx, 5xx error. Based on the requests you will get more insight what's going on.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The funny thing here is that I get&amp;nbsp;404 error since the tile url, that SDK tries to create, does not correspond to TileMatrixSetLink inside of WMTSCapabilities.xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles returns:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P class=""&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fxxx%2F1.0.0%2FWMTSCapabilities.xmlSERVICE%3DWMTS%26VERSION%3D1.0.0%26REQUEST%3DGetTile%26style%3D%28null%29%26layer%3Dby_webkarte%26TileMatrixSet%3Dbvv_gk4%26TileMatrix%3D2%26TileRow%3D0%26TileCol%3D2%26format%3Dimage%2F" rel="nofollow" target="_blank"&gt;http://xxx/1.0.0/WMTSCapabilities.xmlSERVICE=WMTS&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetTile&amp;amp;style=(null)&amp;amp;layer=by_webkarte&amp;amp;TileMatrixSet=bvv_gk4&amp;amp;TileMatrix=2&amp;amp;TileRow=0&amp;amp;TileCol=2&amp;amp;format=image/&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;...&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2.&amp;nbsp;Do you only load this AGSWMTSLayeror you have other featureLayers load as well? The spatial reference also may causing the AGSWMTSLayer not show up.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only load&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;AGSWMTSLayer without any featureLayers. The spatial reference of the map is also properly loaded (&lt;/SPAN&gt;from your code snippet: WMTSLayer: AGSSpatialReference: wkid = 31468, wkt = null&lt;SPAN style="background-color: #ffffff;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Best regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Amel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 20:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6386#M72</guid>
      <dc:creator>AmelMahmuzic</dc:creator>
      <dc:date>2017-04-17T20:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with showing AGSWMTSLayer on iOS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6387#M73</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend to check this WMTSLayer's&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;WMTSCapabilities.xml and try to generate the right request from pure POST/GET request using postman.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Once you find the right scheme then you can try to migrate to code to use Runtime iOS SDK to consume it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 20:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-showing-agswmtslayer-on-ios/m-p/6387#M73</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2017-04-17T20:45:07Z</dc:date>
    </item>
  </channel>
</rss>

