<?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: application crashing at &amp;quot;self.view.layoutIfNeeded()&amp;quot; bfunction in IOS 15.x in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/application-crashing-at-quot-self-view/m-p/1178208#M7388</link>
    <description>&lt;P&gt;It doesn't appear that the crash has anything to do with the Runtime SDK. It seems that your SymbolViewController instance might be being used as a &lt;A href="https://developer.apple.com/documentation/uikit/uicollectionviewdatasource" target="_blank"&gt;&lt;STRONG&gt;UICollectionViewDataSource&lt;/STRONG&gt;&lt;/A&gt; but does not implement &lt;A href="https://developer.apple.com/documentation/uikit/uicollectionviewdatasource/1618058-collectionview" target="_blank"&gt;&lt;STRONG&gt;numberOfItemsInSection&lt;/STRONG&gt;&lt;/A&gt;. I couldn't say why this stops working in iOS 15, but that's an Apple API, and not related to ArcGIS Runtime.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please note&lt;/STRONG&gt;: version 10.2.5 of the Runtime SDKs was&amp;nbsp;&lt;A href="https://support.esri.com/en/Products/Developers/native-runtime-sdks/arcgis-runtime-sdk-for-ios/10-2-5#product-support" target="_blank"&gt;retired in December 2019&lt;/A&gt;. You really should be using the 100.x family of Runtime SDKs, though at this point you might hold off until the 200.x family is released (see &lt;A href="https://www.esri.com/arcgis-blog/products/runtime-sdk/announcements/arcgis-runtime-in-2022-and-beyond/" target="_blank"&gt;this blog post)&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Sun, 29 May 2022 17:39:59 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2022-05-29T17:39:59Z</dc:date>
    <item>
      <title>application crashing at "self.view.layoutIfNeeded()" bfunction in IOS 15.x</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/application-crashing-at-quot-self-view/m-p/1178144#M7387</link>
      <description>&lt;P class=""&gt;We created&amp;nbsp; an IOS application. This application is important and developed using&amp;nbsp;AGSRuntimeSDKiosv10.2.5.pkg. It worked fine so far but crashing at "&lt;SPAN&gt;self.view.layoutIfNeeded()" function call in IOS 15.x.&amp;nbsp; Below is the code snippet and error message where it crash, quick help will be appreciated.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;Error Mesage:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SMPAgentryClientGISEsri.SymbolsViewController collectionView:numberOfItemsInSection:]: unrecognized selector sent to instance 0x1247375d0'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;terminating with uncaught exception of type NSException&lt;BR /&gt;&lt;STRONG&gt;(lldb)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;func&lt;/STRONG&gt;&amp;nbsp;animateContainer(_ toolContainerType: ToolContainerType)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;if&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;let&lt;/STRONG&gt;&amp;nbsp;containerModel =&amp;nbsp;&lt;STRONG&gt;self&lt;/STRONG&gt;.toolHelper.getContainerModel(toolContainerType)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;self&lt;/STRONG&gt;.view.layoutIfNeeded()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //UIView.animate(withDuration: 0.5, animations:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //&amp;nbsp; &amp;nbsp; containerModel.animateContainer()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //&amp;nbsp; &amp;nbsp; self.view.layoutIfNeeded()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;self&lt;/STRONG&gt;.setButtonActive(toolContainerType)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 01:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/application-crashing-at-quot-self-view/m-p/1178144#M7387</guid>
      <dc:creator>Sunil26</dc:creator>
      <dc:date>2022-05-28T01:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: application crashing at "self.view.layoutIfNeeded()" bfunction in IOS 15.x</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/application-crashing-at-quot-self-view/m-p/1178208#M7388</link>
      <description>&lt;P&gt;It doesn't appear that the crash has anything to do with the Runtime SDK. It seems that your SymbolViewController instance might be being used as a &lt;A href="https://developer.apple.com/documentation/uikit/uicollectionviewdatasource" target="_blank"&gt;&lt;STRONG&gt;UICollectionViewDataSource&lt;/STRONG&gt;&lt;/A&gt; but does not implement &lt;A href="https://developer.apple.com/documentation/uikit/uicollectionviewdatasource/1618058-collectionview" target="_blank"&gt;&lt;STRONG&gt;numberOfItemsInSection&lt;/STRONG&gt;&lt;/A&gt;. I couldn't say why this stops working in iOS 15, but that's an Apple API, and not related to ArcGIS Runtime.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please note&lt;/STRONG&gt;: version 10.2.5 of the Runtime SDKs was&amp;nbsp;&lt;A href="https://support.esri.com/en/Products/Developers/native-runtime-sdks/arcgis-runtime-sdk-for-ios/10-2-5#product-support" target="_blank"&gt;retired in December 2019&lt;/A&gt;. You really should be using the 100.x family of Runtime SDKs, though at this point you might hold off until the 200.x family is released (see &lt;A href="https://www.esri.com/arcgis-blog/products/runtime-sdk/announcements/arcgis-runtime-in-2022-and-beyond/" target="_blank"&gt;this blog post)&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 29 May 2022 17:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/application-crashing-at-quot-self-view/m-p/1178208#M7388</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2022-05-29T17:39:59Z</dc:date>
    </item>
  </channel>
</rss>

