IOS界面切换
第一种:navigationcontroller
//进入下层
[self.navigationControllerpushViewController:subTableViewController animated:YES];
//返回上层
[self.navigationControllerpopViewControllerAnimated:YES];
第二种:presentModelViewController(ios5.0以下),presentViewController(ios5.0以上)
AddInfo*control = [[AddInfo alloc] init];
(ios5.0以下)
[selfpresentModalViewController:control animated:YES];
[selfdismissModalViewControllerAnimated:YES];
(ios5.0以上)
[self presentViewController:control animated:YES completion:nil];
[self dismissViewControllerAnimater:YES completion:nil];
第三种:视图添加和移除
//self.view.window.rootViewController= detailViewController;
[self.view.windowaddSubview:detailViewController.view]; []
[self.viewremoveFromSuperview];;
补充:移动开发 , IOS ,