ios -- 跳转第三弹

1.presentViewController跳转的时候需要显示导航栏的时候:

FNAgendaCustomLabelListViewController *controller = [[FNAgendaCustomLabelListViewController alloc] initWithCurrentLabelID:blockSelf.agendaModel.labelID];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:controller];
        [weakSelf presentViewController:nav animated:YES completion:nil];
FNAgendaCustomLabelListViewController页面
[self setTitle:@"选择分类"];
    [self addNavLeftBtnWithTitle:@"取消" selector:@selector(leftButtonPressed:) color:UIColorFromRGB(0x666666)];
    [self addNavRightBtnWithTitle:@"确认" selector:@selector(rightButtonPressed:) color:UIColorFromRGB(0x13BA69)];

 

posted on 2017-12-23 15:19  麦芽呀~  阅读(167)  评论(0编辑  收藏  举报