草庐IT

NAVIGATION

全部标签

android - 在 react-native-navigation 中从单屏应用到基于选项卡的应用

我想知道如何从单屏应用程序转到基于选项卡的应用程序。这里有一个类似的问题没有相关答案。目前我正在做这个Navigation.startSingleScreenApp({screen:{screen:'Login',title:'Login'}});Navigation.startTabBasedApp({tabs:[{label:'tab1',screen:'Login',icon:tab1Icon,selectedIcon:tab1Icon,},title:'tab1',navigatorStyle:{},navigatorButtons:{}},{label:'tab2',scre

objective-c - 为什么我第二次按下 View 时后退按钮没有出现?

每次单击图片时,我都会调用此方法(将View推送到详细View):-(IBAction)loadTeamView:(id)sender{teamView=[[TeamViewControlleralloc]initWithNibName:@"TeamViewController"bundle:nildetailItem:self.detailItem];[self.navigationControllerpushViewController:teamViewanimated:YES];}它有效,但如果您单击后退按钮(自动出现)然后返回此方法,则不会显示后退按钮。有什么想法吗?

c# - MonoTouch 中导航栏的附加按钮

我可以毫无问题地向我的导航添加一个普通的rightBarButton,但现在我需要在rightbarbutton旁边添加一个额外的按钮.....相同的样式:-)并且仍然需要在导航栏中包含标题。这可能吗? 最佳答案 注意:我的回答是关于UINavigationItem(作为属性存在于每个UIViewController中)而不是实际的UINavigationBar。不是100%清楚您使用的是哪一个。您可以在UINavigationItem上设置按钮使用SetRightBarButtonItem方法(或RightBarButtonIte

iphone - Navigation Bar 后退按钮 Action 即使在按钮之后也执行

这道题看起来很简单,但我不知道哪里错了。我有一个导航栏我正在放置一个自定义导航栏后退按钮如下图所示,通过“粉红色”颜色执行操作我的代码如下://-------backbuttonstartUIImage*myImage1=[UIImageimageNamed:@"Back.png"];UIButton*myButton1=[UIButtonbuttonWithType:UIButtonTypeCustom];[myButton1setImage:myImage1forState:UIControlStateNormal];myButton1.showsTouchWhenHighligh

ios - 停止导航栏重叠内容

我在我的应用程序中使用了一个UINavigationController,它工作得很好。在某些时候,在我的CollectionView中显示标题时,导航栏似乎已设置到堆栈中的较高位置,从而允许在其下方呈现内容。有谁知道如何将标题呈现在导航栏下方,而不是下方?非常感谢任何帮助!编辑如果有帮助,我运行了以下命令:NSLog(@"NavigationBarBounds%@",NSStringFromCGRect(self.navigationController.navigationBar.bounds));NSLog(@"NavigationBarFrame%@",NSStringFrom

ios - 隐藏View的Navigation Bar push View是OK.but pop 可以看到黑条

SDK6.1,Target6.1,使用storyboardaView有一个UIButton。我使用Actionsegue[push]到bView当我点击这个按钮时,按下bView就可以了但是我弹出aView有一个后退栏,我该如何解决这个问题?aView.m-(void)viewWillAppear:(BOOL)animated{[superviewWillAppear:animated];[self.navigationController.navigationBarsetHidden:YES];}bView.m-(void)viewWillAppear:(BOOL)animated{

ios - 我可以在 Document Provider 扩展上使用 Navigation Controller 来模拟文件夹导航吗?

我正在为我的应用程序实现一个文档提供程序,我必须在其中模拟文件夹导航。Appledocumentation说:Ineithercase,thehostapppresentsadocumentpickerviewcontroller.ThesystemthenimbedsyourDocumentPickerViewControllerextensioninsidetheapp’sviewcontroller.Theapp’sviewcontrollerprovidesanavigationbarwiththedocumentprovider’sname,alocationswitcher

ios - Xamarin iOS : navigation bar not showing after pushing view

我已经用代码创建了所有UI(因为我使用了FlyoutNavigation,它似乎不适用于Storyboard)。我有一个名为MainController的UINavigationController,以及一系列ViewController。当我使用根Controller启动应用程序时,它会很好地显示导航栏。当我以编程方式创建一个名为ArticleDisplay的新ViewController时,我创建并推送它(在MainController中):publicvoidOpen_Article(Postpost){ArticleDisplayvw=newArticleDisplay(thi

ios - Skobbler didFinishRouteCalculationWithInfo 数组异常

在iOS中使用Skobblermap时出现异常。似乎是导致无效数组访问的并发异常,但由于Skobbler提供的代码存在问题,因此不确定如何以最佳方式修复其损坏的代码。请参阅标记为“HERE!!!”的行在下面的代码中:文件:SKTNavigationManager.m-(void)routingService:(SKRoutingService*)routingServicedidFinishRouteCalculationWithInfo:(SKRouteInformation*)routeInformation{dispatch_async(dispatch_get_main_que

javascript - react native 路由器通量 : How to style NavDrawer's button and navigation bar?

在ReactNativeRouterFlux中,我有一个名为NavDrawer的功能性react-native-drawer。它目前在导航栏的左侧有默认的汉堡包菜单图标,并希望将其更改为另一个自定义图标。所以我尝试了,leftTitle='Menu',但它没有改变。所以我想知道如何自定义react-native-drawer的默认菜单图标?而且我还通过navigationBarStyle更改了导航栏的高度,因此按钮目前靠近导航栏的底部而不是中间。所以在navigationBarStyle中,我尝试了flex:1,flexDirection:'row',alignItems:'cente