<?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: How to resize callout in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229825#M2108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you're using a custom UIView for this with the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_callout.html#a13fad493269879cfb91319b85f7496c8"&gt;&lt;STRONG&gt;AGSCallout.customView&lt;/STRONG&gt;&lt;/A&gt; property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The callout should resize according to its contents. Just make sure that you're resizing the UITextView appropriately. &lt;A href="https://stackoverflow.com/a/18931531/1416253"&gt;This Stack Overflow thread&lt;/A&gt;&amp;nbsp;might help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Nov 2019 17:37:11 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2019-11-13T17:37:11Z</dc:date>
    <item>
      <title>How to resize callout</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229824#M2107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I resize the callout height based on the content it includes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Android, I could use callout.refresh() that resizes the callout based on the lines I have in my text view. In iOS SDK I don't see similar method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suggestions pls&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 13:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229824#M2107</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-11-13T13:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize callout</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229825#M2108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you're using a custom UIView for this with the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_callout.html#a13fad493269879cfb91319b85f7496c8"&gt;&lt;STRONG&gt;AGSCallout.customView&lt;/STRONG&gt;&lt;/A&gt; property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The callout should resize according to its contents. Just make sure that you're resizing the UITextView appropriately. &lt;A href="https://stackoverflow.com/a/18931531/1416253"&gt;This Stack Overflow thread&lt;/A&gt;&amp;nbsp;might help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 17:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229825#M2108</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-11-13T17:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize callout</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229826#M2109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a maximum width for the callout? I've been fiddling with this as well and can get the the size to change but the width at least seems to have an upper bound of around 290 or so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit to add: I can set the custom view to a width of say 300 or 400 but the callout just clips it. Setting height to 300 or 400 expands the callout as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 19:02:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229826#M2109</guid>
      <dc:creator>ToddAtkins</dc:creator>
      <dc:date>2019-11-13T19:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize callout</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229827#M2110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/27752" target="_blank"&gt;Todd&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. We apply a max width constraint. It's not supposed to be there when using a custom view, but it seems we have a bug. We'll get that fixed, but in the meantime you could set &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_callout.html#abec7340a46a4a7ab317ff732ed66304c" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;STRONG&gt;AGSCallout.autoAdjustWidth&lt;/STRONG&gt;&lt;/A&gt; to &lt;STRONG&gt;false&lt;/STRONG&gt;&amp;nbsp;&lt;EM&gt;before&lt;/EM&gt; you set your custom view:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;callout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;autoAdjustWidth &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;
mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;callout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;customView &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; myCustomView‍‍&lt;SPAN class="line-numbers-rows"&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;Sorry about that. Hope this info&amp;nbsp;helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229827#M2110</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2021-12-11T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize callout</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229828#M2111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, thanks. Works perfectly now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 22:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229828#M2111</guid>
      <dc:creator>ToddAtkins</dc:creator>
      <dc:date>2019-11-14T22:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize callout</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229829#M2112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot ! It helped...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 10:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-resize-callout/m-p/229829#M2112</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-11-15T10:21:14Z</dc:date>
    </item>
  </channel>
</rss>

