草庐IT

TopNavBar

全部标签

c# - Xamarin 使用自定义 UINavigationBar 子类化 UINavigationController

我正在尝试创建一个非标准的顶部导航栏以在我的整个应用程序中使用。为了实现这一点,我一直在尝试子类化UINavigationController和UINavigationBar我有一个自定义的NavigationController类partialclassZooNavigationController:UINavigationController{publicZooNavigationController(IntPtrhandle):base(typeof(TopNavBar),null){this.Handle=handle;}}指向基础构造函数publicUINavigationC