<?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: Getting blank white image for screenshot in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/getting-blank-white-image-for-screenshot/m-p/555371#M4751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please look at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/78166-How-to-save-screenshot-of-AGSMapView" rel="nofollow" target="_blank"&gt;this&lt;/A&gt;&lt;SPAN&gt; forum post for an answer.&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>Thu, 27 Jun 2013 17:47:11 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2013-06-27T17:47:11Z</dc:date>
    <item>
      <title>Getting blank white image for screenshot</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/getting-blank-white-image-for-screenshot/m-p/555370#M4750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This code used to work. Is anyone else getting a white image instead of a screenshot of the map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; UIGraphicsBeginImageContextWithOptions(self.mapView.frame.size, NO, 0.0f);&amp;nbsp; CGContextSetShouldAntialias(UIGraphicsGetCurrentContext(), NO); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.mapView.layer renderInContext:UIGraphicsGetCurrentContext()];&amp;nbsp; UIImage *screenshot = UIGraphicsGetImageFromCurrentImageContext();&amp;nbsp; UIGraphicsEndImageContext();&amp;nbsp;&amp;nbsp;&amp;nbsp; UIImageWriteToSavedPhotosAlbum(screenshot,self,@selector(image:didFinishSavingWithError:contextInfo:),nil);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I tried saving a normal UIView's image, and that works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried changing the opacity to YES, and scale to 1.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 18:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/getting-blank-white-image-for-screenshot/m-p/555370#M4750</guid>
      <dc:creator>RickJones</dc:creator>
      <dc:date>2013-06-26T18:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank white image for screenshot</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/getting-blank-white-image-for-screenshot/m-p/555371#M4751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please look at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/78166-How-to-save-screenshot-of-AGSMapView" rel="nofollow" target="_blank"&gt;this&lt;/A&gt;&lt;SPAN&gt; forum post for an answer.&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>Thu, 27 Jun 2013 17:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/getting-blank-white-image-for-screenshot/m-p/555371#M4751</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-06-27T17:47:11Z</dc:date>
    </item>
  </channel>
</rss>

