We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!

When ever i use SfPdfDocumentViewRenderer.Init(); with scene delegate, i am getting following issues below,

      - UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!



5 Replies

MA ManojKumar Arumugasamy Syncfusion Team February 27, 2023 10:45 AM UTC

Hi Anudeep, We were able to reproduce the issue, Application crashes with NSObjectNotAvailableException while using scene delegate”  on Xamarin.Forms application. Currently, we are validating this issue and we will update the further details on March 1, 2023.



VD Vikram Devaraj Syncfusion Team March 1, 2023 03:00 PM UTC

Hi Anudeep, We are analysing the feasibility of replacing UIAlertView with UIAlertController on our side without affecting our current design. We will update further details on March 3, 2023.



IP ImmanKumarP Palanikumar Syncfusion Team March 3, 2023 01:12 PM UTC

Anudeep, we will change from UIAlertView to UIAlertController in all our existing alert views and provide the patch for the same on March 24, 2023.

Please find the feedback link below,

https://www.syncfusion.com/feedback/41753/ios-migrate-from-uialertview-to-uialertcontroller



MA ManojKumar Arumugasamy Syncfusion Team March 24, 2023 01:31 PM UTC

Hi, Anudeep We have converted the UIAlertView to UIAlertController in our pdf viewer and the custom NuGet for the same can be downloaded from the following link. 

       

Custom NuGethttps://www.syncfusion.com/downloads/support/directtrac/general/ze/CustomNuget_Mar24-1817334272

      

Disclaimer: Please note that we have created this NuGet for version 20.4.0.48 specifically to resolve the issue reported in this incident.

     

Note: Kindly follow the steps to clear the NuGet cache and then install the patched NuGet to get the issue resolved. 

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache        

          

This fix will be included in our April 4 weekly release.



IP ImmanKumarP Palanikumar Syncfusion Team April 4, 2023 07:41 AM UTC

Hi Anudeep,

We have resolved the issue Application crashes with NSObjectNotAvailableException while using scene delegate and now the fix for the same is available in our latest weekly release (v21.1.38).

 

Please find our latest Weekly NuGet: NuGet Gallery | Syncfusion.Xamarin.SfPdfViewer 21.1.38


Loader.
Live Chat Icon For mobile
Up arrow icon