<?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: AGSPopupMediaInfo in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspopupmediainfo/m-p/201852#M1832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The Popup expects the sourceURL to be an http based URL. Something like &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww" rel="nofollow" target="_blank"&gt;http://www&lt;/A&gt;&lt;SPAN&gt;.&amp;lt;some.domain&amp;gt;.com/logo.png&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 16:36:51 GMT</pubDate>
    <dc:creator>RyanOlson1</dc:creator>
    <dc:date>2015-10-23T16:36:51Z</dc:date>
    <item>
      <title>AGSPopupMediaInfo</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspopupmediainfo/m-p/201851#M1831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've come back to this question again after a while. Still couldn't figure out how to set the correct path for an image (Logo.png - resource in local bundle) to be displayed in a popup. The code below doesn't work - keep showing "No image to display".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #703daa;"&gt;AGSPopupInfo&lt;/SPAN&gt; *info = [&lt;SPAN style="color: #703daa;"&gt;AGSPopupInfo&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;popupInfoForGraphic&lt;/SPAN&gt;:graphic];&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;NSURL&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *url = [[&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;NSBundle&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;mainBundle&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;URLForResource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"Logo"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;withExtension&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"png"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;NSDictionary&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *dict = [&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;NSDictionary&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;dictionaryWithObjectsAndKeys&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;SPAN style="font-family: Menlo; font-size: 11px;"&gt;url.&lt;/SPAN&gt;&lt;SPAN style="font-family: Menlo; font-size: 11px; color: #703daa;"&gt;path&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"sourceURL"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;nil&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #3d1d81;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;AGSPopupMediaInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *mediaInfo = [&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;AGSPopupMediaInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;popupMediaInfoWithTitle&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"Title"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;caption&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"Caption"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;type&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;AGSPopupMediaInfoTypeImage&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;value&lt;SPAN style="color: #000000;"&gt;:dict];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info.&lt;SPAN style="color: #703daa;"&gt;mediaInfos&lt;/SPAN&gt; = [&lt;SPAN style="color: #703daa;"&gt;NSArray&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;arrayWithObject&lt;/SPAN&gt;:mediaInfo];&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #3d1d81;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;popupVC&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = [[&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;AGSPopupsContainerViewController&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;alloc&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;initWithPopupInfo&lt;SPAN style="color: #000000;"&gt;:info &lt;/SPAN&gt;graphic&lt;SPAN style="color: #000000;"&gt;:graphic &lt;/SPAN&gt;usingNavigationControllerStack&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;NO&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Rgds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Ong CF&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 06:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspopupmediainfo/m-p/201851#M1831</guid>
      <dc:creator>c_f_ong</dc:creator>
      <dc:date>2015-10-23T06:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPopupMediaInfo</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspopupmediainfo/m-p/201852#M1832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The Popup expects the sourceURL to be an http based URL. Something like &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww" rel="nofollow" target="_blank"&gt;http://www&lt;/A&gt;&lt;SPAN&gt;.&amp;lt;some.domain&amp;gt;.com/logo.png&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 16:36:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspopupmediainfo/m-p/201852#M1832</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2015-10-23T16:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPopupMediaInfo</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspopupmediainfo/m-p/201853#M1833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. In that case, I'll create my own popup to show the local image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Ong CF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Oct 2015 03:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspopupmediainfo/m-p/201853#M1833</guid>
      <dc:creator>c_f_ong</dc:creator>
      <dc:date>2015-10-25T03:22:46Z</dc:date>
    </item>
  </channel>
</rss>

