浏览代码

Hide back button when calling resetTo (#1469)

Kyle Johnson 8 年前
父节点
当前提交
518e372e05
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      ios/RCCNavigationController.m

+ 2
- 0
ios/RCCNavigationController.m 查看文件

217
     RCCViewController *viewController = [[RCCViewController alloc] initWithComponent:component passProps:passProps navigatorStyle:navigatorStyle globalProps:nil bridge:bridge];
217
     RCCViewController *viewController = [[RCCViewController alloc] initWithComponent:component passProps:passProps navigatorStyle:navigatorStyle globalProps:nil bridge:bridge];
218
     viewController.controllerId = passProps[@"screenInstanceID"];
218
     viewController.controllerId = passProps[@"screenInstanceID"];
219
     
219
     
220
+    viewController.navigationItem.hidesBackButton = YES;
221
+    
220
     [self processTitleView:viewController
222
     [self processTitleView:viewController
221
                      props:actionParams
223
                      props:actionParams
222
                      style:navigatorStyle];
224
                      style:navigatorStyle];