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!
I am using the SF demo app called Custom Toolbar which has an option to open one of several pdf docs. In that list, I added a PDF Form with several boxes to receive data entry.
When I tap on a box, I expect a software keyboard to open and let me type some characters.
What happens on iOS is that I get an Exception thrown. It works in Android and Windows.
Here is the exception that I get:
[0:] An error occurred: 'Object reference not set to an instance of an object.'. Callstack: ' at Syncfusion.SfPdfViewer.XForms.iOS.SinglePageViewer.CanPerform (ObjCRuntime.Selector action, Foundation.NSObject withSender) <0x10eb56538 + 0x0001a> in <04149cae84b34ca79792b7577258b46b>:0
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:65
at CustomToolbar.iOS.Application.Main (System.String[] args) [0x00001] in C:\Users\Will\source\repos\2106\SFPDFCustomToolbar\CustomToolbar\CustomToolbar.iOS\Main.cs:17
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:395 '
The app has been terminated.
Thanks for looking at this for me.
Regards,
Will