pdfjs icon indicating copy to clipboard operation
pdfjs copied to clipboard

Sample crash when using latest Xamarin forms in IOS

Open olivier38070 opened this issue 4 years ago • 0 comments

Hello,

I just tried the sample from GitHub, and updated all Nuget packages. for IOS, Xamarin forms is now 4.8.0.164

when I try to run it on an iPad, the app crash with that error : "Object reference not set to an instance of an object"

" at Xamarin.Forms.Platform.iOS.WebViewRenderer+CustomWebViewDelegate.ShouldStartLoad (UIKit.UIWebView webView, Foundation.NSUrlRequest request, UIKit.UIWebViewNavigationType navigationType) [0x00072] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Renderers\WebViewRenderer.cs:277 \n at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)\n at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.20.2.2/src/Xamarin.iOS/UIKit/UIApplication.cs:86 \n at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.20.2.2/src/Xamarin.iOS/UIKit/UIApplication.cs:65 \n at pdfjs.iOS.Application.Main (System.String[] args) [0x00001] in /Users/olivier/Downloads/pdfjs-master/iOS/Main.cs:17 "

olivier38070 avatar Sep 11 '20 08:09 olivier38070