if (self.view.superview == nil) {
[singleDollController.view removeFromSuperview];
[self.view insertSubview:rootViewController.view atIndex:0];
}
else {
[rootViewController.view
[self.view
insertSubview:singleDollController.view
}
视图间的跳转
1. AddInfo *control = [[AddInfo alloc] init];
[self
presentModalViewControll
[control release];
描述:通过事件进行跳转
[self
dismissModalViewControll
描述:通过事件进行返回。
2.
[self.navigationController
pushViewController:subTableViewController
描述:通过
NSNavigationBar
[self.navigationController
描述:在子视图返回到上级视图