<?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: Can AGSFeatureLayer and AGSGraphicsOverlay automatically adapt to Dark Mode (interface style trait) changes? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/can-agsfeaturelayer-and-agsgraphicsoverlay/m-p/284652#M2588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you would have to modify the symbols. This can be made easier by using renderers (I get the impression you're already doing that), but it would still be&amp;nbsp;something you'd have to code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you update the renderers on the layers and overlays (or individual symbols on individual graphics) then Runtime will note the change(s) and re-render as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why it's this way is a side-effect of having a shared Runtime Core across all platforms. It relegates UIColor to a convenient type for the iOS SDK, but internally Runtime&amp;nbsp;doesn't&amp;nbsp;hold on to a UIColor and so we don't get the benefit of dynamic asset colors in this way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2019 20:11:50 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2019-10-25T20:11:50Z</dc:date>
    <item>
      <title>Can AGSFeatureLayer and AGSGraphicsOverlay automatically adapt to Dark Mode (interface style trait) changes?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/can-agsfeaturelayer-and-agsgraphicsoverlay/m-p/284651#M2587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I defined dark variants&amp;nbsp;for&amp;nbsp;all UIColor objects used in symbols for the feature layers and graphic overlays. While it loads the correct variant initially, it doesn't&amp;nbsp;automatically adapt when I toggle Dark Mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to listen for interface style changes and manually&amp;nbsp;re-set symbols&amp;nbsp;in all the layers and overlays? Or is there a way&amp;nbsp;to ask them to re-render?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:41:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/can-agsfeaturelayer-and-agsgraphicsoverlay/m-p/284651#M2587</guid>
      <dc:creator>AndrewLeung</dc:creator>
      <dc:date>2019-10-18T18:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can AGSFeatureLayer and AGSGraphicsOverlay automatically adapt to Dark Mode (interface style trait) changes?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/can-agsfeaturelayer-and-agsgraphicsoverlay/m-p/284652#M2588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you would have to modify the symbols. This can be made easier by using renderers (I get the impression you're already doing that), but it would still be&amp;nbsp;something you'd have to code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you update the renderers on the layers and overlays (or individual symbols on individual graphics) then Runtime will note the change(s) and re-render as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why it's this way is a side-effect of having a shared Runtime Core across all platforms. It relegates UIColor to a convenient type for the iOS SDK, but internally Runtime&amp;nbsp;doesn't&amp;nbsp;hold on to a UIColor and so we don't get the benefit of dynamic asset colors in this way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 20:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/can-agsfeaturelayer-and-agsgraphicsoverlay/m-p/284652#M2588</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-10-25T20:11:50Z</dc:date>
    </item>
  </channel>
</rss>

