[self.navigationController pushViewController:subTableViewController animated:YES];
//描述:通過 NSNavigationBar 進行跳轉
[self.navigationController popViewControllerAnimated:YES];
//描述:在子視圖返回到上級視圖
AddInfo *control = [[AddInfo alloc] init];
[self presentModalViewController:control animated:YES];
[control release];
//描述:通過事件進行跳轉
[self dismissModalViewControllerAnimated:YES]; //描述:通過事件進行返回。
//self.view.window.rootViewController = detailViewController;
[self.view.window addSubview:detailViewController.view];
[self.view removeFromSuperview];
IOS之頁面跳轉
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.