Hi,
The following boilerplate code throws:
var style = NSWindowStyle.Closable | NSWindowStyle.Resizable | NSWindowStyle.Titled;
however if I do this:
var style = NSWindowStyle.Closable | NSWindowStyle.Resizable;// | NSWindowStyle.Titled;
the MacOS Xamarin Forms app kicks up, albeit without the title bar.
Any ideas?
The error is:
Object reference not set to an instance of an object
and the stacktrace is:
" at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.UpdateTitle () [0x00125] in :0 \n at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.UpdateToolBar () [0x0011b] in :0 \n at Xamarin.Forms.Platform.MacOS.NativeToolbarTracker.set_Navigation (Xamarin.Forms.NavigationPage value) [0x0008d] in :0 \n at Xamarin.Forms.Platform.MacOS.NavigationPageRenderer.Init () [0x00025] in :0 \n at Xamarin.Forms.Platform.MacOS.NavigationPageRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0000e] in :0 \n at Xamarin.Forms.Platform.MacOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00014] in :0 \n at Xamarin.Forms.Platform.MacOS.MasterDetailPageRenderer.UpdateControllers () [0x00066] in :0 \n at Xamarin.Forms.Platform.MacOS.MasterDetailPageRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0000e] in :0 \n at Xamarin.Forms.Platform.MacOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00014] in :0 \n at Xamarin.Forms.Platform.MacOS.Platform.AddChild (Xamarin.Forms.VisualElement view) [0x00027] in :0 \n at Xamarin.Forms.Platform.MacOS.Platform.WillAppear () [0x0001c] in :0 \n at Xamarin.Forms.Platform.MacOS.PlatformRenderer.ViewWillAppear () [0x00006] in
(etc)
Any ideas?
Kind regards,
Anthony