【发布时间】:2020-03-31 15:26:23
【问题描述】:
我正在处理 Xamarin.forms 应用程序聊天,但在使用 NavigationBar 时遇到了一些问题。问题出在工具栏的阴影上,我希望它消失。
它已经在使用下面的代码,但现在它停止工作了。
图片 !enter image description here]1
代码 AppDelegate
Xamarin.Forms.Forms.SetFlags(new string[] { "CarouselView_Experimental", "IndicatorView_Experimental" });
ImageCircleRenderer.Init();
KeyboardOverlapRenderer.Init();
global::Xamarin.Forms.Forms.Init();
LoadApplication(new App(null, null, null));
OneSignal.Current.StartInit("8bf7b19d-fb86-4ffb-a17e-5998f6756883").HandleNotificationOpened(App.HandleNotificationOpened).EndInit();
UINavigationBar.Appearance.ShadowImage = new UIImage();
UITabBar.Appearance.SelectedImageTintColor = UIColor.FromRGB(255, 255, 255);
【问题讨论】:
标签: ios xamarin.ios navigation uinavigationbar