Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
When setting SfPdfViewer.AnnotationMode in code, to AnnotationMode.HandwrittenSignature a NullReferenceException is thrown:
StackTrace:
at Syncfusion.SfPdfViewer.XForms.iOS.ScrollViewEx.PerformSignature () [0x00213] in <088988e16ca04fe58b99d63573688f56>:0
at Syncfusion.SfPdfViewer.XForms.iOS.ScrollViewEx.set_AnnotationMode (Syncfusion.SfPdfViewer.XForms.AnnotationMode value) [0x0005b] in <088988e16ca04fe58b99d63573688f56>:0
at Syncfusion.SfPdfViewer.XForms.iOS.PdfViewerDependencyService.SetAnnotationMode (System.Object nativeObject, Syncfusion.SfPdfViewer.XForms.AnnotationMode annotationMode) [0x00003] in <088988e16ca04fe58b99d63573688f56>:0
at Syncfusion.SfPdfViewer.XForms.SfPdfViewer.set_AnnotationMode (Syncfusion.SfPdfViewer.XForms.AnnotationMode value) [0x0002c] in <e4ee72167b31483085d87e59b90b8ad6>:0
at PDFEditor.PDFEditorView.InkAnnotationTapped (System.Object sender, System.EventArgs e) [0x00001] in /Users/paul/Projects/EBF/PDFEditor/PDFEditor/PDFEditorView.xaml.cs:57
at Xamarin.Forms.TapGestureRecognizer.SendTapped (Xamarin.Forms.View sender) [0x0002e] in D:\a\1\s\Xamarin.Forms.Core\TapGestureRecognizer.cs:48
at Xamarin.Forms.Platform.iOS.EventTracker+<>c__DisplayClass13_0.<CreateRecognizerHandler>b__0 (UIKit.UITapGestureRecognizer sender) [0x0008f] in <85a5f025a15045539371e93897914a5b>:0
at UIKit.UITapGestureRecognizer+Callback.Activated (UIKit.UITapGestureRecognizer sender) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.8.0.2/src/Xamarin.iOS/UIKit/UIGestureRecognizer.cs:223