现在的位置: 首页 > 综合 > 正文

UINavigationController跳转到UITabBarController和UITabBarController跳转到 UINavigationController

2012年07月11日 ⁄ 综合 ⁄ 共 425字 ⁄ 字号 评论关闭

1。  UINavigationController  到 UITabBarController

在准备跳转  tabbarviewcontroller 的窗体中添加 tabbarviewcontroller ,配置到各tabitem 属性

在执行事件里写  [self.navigationController pushViewController:newview  animated:YES];

完成      (注: UITabBarController 继承自UIViewController)

 

2。   UITabBarController   到  UINavigationController

配置tabitem属性, 在增删tabitem的地方, 注意栏中后侧可选项  UIViewController 、 UINavigationctroller 等等,

选择UINavigationctroller  即可, 在新窗体中实现    self.navigatiController 

抱歉!评论已关闭.