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)];
原文地址:https://www.cnblogs.com/qiyiyifan/p/8093501.html