Xamarin Forms iOS V16.2.0.41 Crash on Delete Annotation/Text Annotation/Shape/etc.

Xamarin V16.2.0.41 Crash on Delete Annotation/Text Annotation/Shape/etc.

The app crashes when trying to delete anything in the pdfviewer control

Example when delete free text

ScrollViewEx.DeleteEditAnnotation (Syncfusion.SfPdfViewer.XForms.FreeTextAnnotation annotation)
PdfViewerDependencyService.RemoveAnnotation (System.Object nativeObject, System.Object annotation)
SfPdfViewer.RemoveAnnotation (Syncfusion.SfPdfViewer.XForms.IAnnotation annotation)
EditAnnotationToolbar.Delete_Clicked (System.Object sender, System.EventArgs e)
Button.SendClicked () D:\a\1\s\Xamarin.Forms.Core\Button.cs:133
ButtonRenderer.OnButtonTouchUpInside (System.Object sender, System.EventArgs eventArgs) D:\a\1\s\Xamarin.Forms.Platform.iOS\Renderers\ButtonRenderer.cs:135
UIControlEventProxy.Activated () /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/UIKit/UIControl.cs:38
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/UIKit/UIApplication.cs:79
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/UIKit/UIApplication.cs:63


Example when deleting shape:

Syncfusion.SfPdfViewer.XForms.iOS
ScrollViewEx.DeleteSelectedAnnotation (Syncfusion.SfPdfViewer.XForms.ShapeAnnotation annotation)
Syncfusion.SfPdfViewer.XForms.iOS
PdfViewerDependencyService.RemoveAnnotation (System.Object nativeObject, System.Object annotation)
Syncfusion.SfPdfViewer.XForms
SfPdfViewer.RemoveAnnotation (Syncfusion.SfPdfViewer.XForms.IAnnotation annotation)
Syncfusion.SfPdfViewer.XForms
EditAnnotationToolbar.Delete_Clicked (System.Object sender, System.EventArgs e)
Xamarin.Forms
Button.SendClicked () D:\a\1\s\Xamarin.Forms.Core\Button.cs:133
Xamarin.Forms.Platform.iOS
ButtonRenderer.OnButtonTouchUpInside (System.Object sender, System.EventArgs eventArgs) D:\a\1\s\Xamarin.Forms.Platform.iOS\Renderers\ButtonRenderer.cs:135
UIKit
UIControlEventProxy.Activated () /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/UIKit/UIControl.cs:38
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIKit
UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/UIKit/UIApplication.cs:79
UIKit
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/UIKit/UIApplication.cs:63

1 Reply

NK Navaneetha Kannan Sudalai Muthu Syncfusion Team June 27, 2018 12:47 PM UTC

Hi Oliver,  

Sorry for the inconvenience caused.  

The mentioned issues occurred because Syncfusion NuGet packages at nuget.org do not have latest code changes. The same packages at nuget.Syncfusion.com are up to date. Kindly use the following link as the Nuget package source.  

 
We will update the packages on nuget.org and will let you know once it is done.  

Best, 
Navaneetha Kannan  


Loader.
Up arrow icon