I have a custom toolbar with a Clear All Annotations button. I want to enable this button only if there are annotations in the pdf. Currently, when the button is pressed, I have a click handler that calls pdfViewerControl.ClearAllAnnotations() but it does not clear any highlights and freezes the application. Is there something else I should be doing as well?
KKKarthik Krishnaraj Syncfusion Team February 8, 2019 04:01 AM
Greetings from Syncfusion,
We are facing exception while calling ClearAllAnnotation() API on button click event in Xamarin.Forms.iOS. Whereas in Android it works properly and in Xamarin.Forms.UWP annotations haven’t cleared properly. Can you please confirm whether you are facing the same issues in your side? So that we will update the patch for the same.
ZCZach CarlsFebruary 13, 2019 04:16 PM
It looks like it's just taking a really long time in iOS to work. It's much quicker in Android.
KKKarthik Krishnaraj Syncfusion Team February 14, 2019 12:43 PM
Thank you for your update,
We will fix the reported issue on “Clearing all the annotations in the document” in Xamarin.Forms. iOS and the fix will be included in our Essential Studio Volume 1 release which will be rolled out in the month of March 2019.