SfPdfViewer: NSObjectNotAvailableException UIAlertView is deprecated

Hi,

I'm using Syncfusion SfPdfViewer (18.1.0.57) to view and take annotations on a Pdf on iOS. I'm using Xamarin.iOS (latest version, 13.18.2.1) and Visual Studio for Mac with Xcode 11.5.

Using the following code, I get this exception:
  • NSObjectNotAvailableException Reason: UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!

var pdfViewer = new SfPdfViewer();

Am I missing something?

Thanks for the support.

Regards,
Peter

1 Reply 1 reply marked as answer

AV Ashokkumar Viswanathan Syncfusion Team June 17, 2020 01:05 PM UTC

Hi Peter, 
  
Thank you for your interest in Syncfusion products.    
  
We were unable to reproduce the issue, “Application crashes with NSObjectNotAvailableException in iOS Platform” in our end.     
 
Please find the sample which we have tried to reproduce the issue,   
 
Kindly share the following details to analyze more on this issue and assist you with the better solution     
  1. Simple sample/ modify the above sample to reproduce the issue. 
  2. PDF document.
  3. iOS Device specification.
  4. Replication video/procedure to reproduce the issue.
 
Regards, 
Ashok Kumar Viswanathan. 


Marked as answer
Loader.
Up arrow icon