- Home
- Forum
- Xamarin.Forms
- Method `Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_IsXFAForm()' is inaccessible from method
Method `Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_IsXFAForm()' is inaccessible from method
When trying to view any PDF's on iOS (Android build is fine) from our Xamarin.Forms project, we get the following error.
Method `Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_IsXFAForm()' is inaccessible from method `Syncfusion.SfPdfViewer.XForms.iOS.ScrollViewEx+<LoadDocument>d__323.MoveNext()'
Has anyone seen this before? Has nothing to do with being an XFA form, it cant access the method to even check for that.
Our project is MVVM based.
Xamarin.Forms version 5.0.0.2012
SfPdfViewer version 18.2.0.54 (Tried updating to newest but even updated, issues is the same)
THanks.
Could you please try the above-provided sample and let us know whether we have missed out anything while replicating the issue
I'm having same issue. Strange this is that the application was running just fine, and suddenly this error starts and I can't get it resolved.
Hi Joao,
We were unable to replicate the issue and it is working as expected . Could you please try the attached sample and let us know whether we have missed out anything while replicating the issue.
Note: If you are adding custom NuGet to your project, we suspect this issue is occurred due to the improper adding of custom NuGet and NuGet cache is not cleared properly. Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
If the issue persists, Kindly share the following details to analyze more on this issue and assist you with the better solution
1.Simple sample/ modify the attached sample to reproduce the issue.
2.Replication video/procedure to reproduce the issue.
3.PDF document
4. SfPdfViewer version
Regards,
Vikram
Attachment: 170897_f6a6c077.zip
- 3 Replies
- 4 Participants
-
JB Jacob Benson
- Dec 2, 2021 11:31 PM UTC
- Jul 18, 2022 12:03 PM UTC