首页 > 代码库 > UINavigationController的简单使用

UINavigationController的简单使用

 

1:UINavigationController的使用步骤

初始化UINavigationController
设置UIWindow的rootViewController为UINavigationController
根据具体情况,通过push方法添加对应个数的子控制器

UINavigationController的简单使用