AppDelegate in IOS fails when navigating to a page with SfDataGrid on it <p>i'm having problems with SfDataGrid on IOS that works fine on Android</p> <p>when i try to navigat to a page called "Hovedside" that has a SfDataGrid it gose into Main.cs in the IOS part and fails on UIApplication.Main(args, null, "AppDelegate");</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace PrismUnityApp2.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { try { UIApplication.Main(args, null, "AppDelegate"); } catch (Exception e) { throw; } } } } </code></pre> <p>with this output: System.NullReferenceException: Object reference not set to an instance of an object</p> <p>at Syncfusion.SfDataGrid.XForms.iOS.ExtendedScrollViewRenderer.WillMoveToWindow (UIKit.UIWindow window) [0x0000b] in :0 </p> <p>at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)</p> <p>at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3818/3983064a/source/xamarin-macios/src/UIKit/UIApplication.cs:79 </p> <p>at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3818/3983064a/source/xamarin-macios/src/UIKit/UIApplication.cs:63 </p> <p>at PrismUnityApp2.iOS.Application.Main (System.String[] args) [0x00002] in C:\Users\asr\Desktop\GBS APP bakups\PrismUnityApp2 b4 scanner\PrismUnityApp2\PrismUnityApp2.iOS\Main.cs:20 </p> <p>There is nothing in the error list</p> <p>if i remove the SfDataGrid then it navigates just fine to the page</p> <p>i have the Required assemblies that syncfusion shows on <a href="https://help.syncfusion.com/xamarin/sfdatagrid/getting-started" rel="nofollow noreferrer">https://help.syncfusion.com/xamarin/sfdatagrid/getting-started</a></p> <p>i feel like im missing something in AppDelegate but can't find out what it may be</p> <pre><code> using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; using Prism.Unity; using Microsoft.Practices.Unity; using Syncfusion.SfDataGrid.XForms.iOS; namespace PrismUnityApp2.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // application events from iOS. [Register("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { // // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { ZXing.Net.Mobile.Forms.iOS.Platform.Init(); global::Xamarin.Forms.Forms.Init(); SfDataGridRenderer.Init(); LoadApplication(new App(new iOSInitializer())); return base.FinishedLaunching(app, options); } } public class iOSInitializer : IPlatformInitializer { public void RegisterTypes(IUnityContainer container) { } } } </code></pre> <p><a href="https://github.com/ZarpGitHub/PrismUnityApp-gbs" rel="nofollow noreferrer">https://github.com/ZarpGitHub/PrismUnityApp-gbs</a></p> <p>im using visual studio 2015 community, xamarin, prism v6.2.0 Xam.Plugin.Geolocator v3.0.4 and Syncfusion 14.3451.0.49. mostly running it on a sony xperia z3 with Android version 6.0.1 and using API 23 i also use test it on a virtual iphone 6s plus IOS 10.0</p> <p>Any help is deeply appreciated</p>