我正在尝试在处理xml标签后推送到View Controller名称“HomeViewController”, 我想在parserDidEndDocument方法中导航到“HomeViewController”屏幕,
-(void)parserDidEndDocument:(NSXMLParser *)parser{
[self.delegate parsingComplete:catalogArray];
// Here i need to push to HomeViewController
}
任何人都可以给我一个想法吗
答案 0 :(得分:0)
HomeViewController * homeView = [self.storyboard instantiateViewControllerWithIdentifier:@“storyBoardIdentifier”]; [self.navigationController pushViewController:homeView animated:YES];