常用的就两种 一种通过导航,一种直接跳
第一种 直接跳转 ,
WJPlayViewController * playerVC = [[WJPlayViewController alloc]init];
[self presentViewController:playerVC animated:YES completion:^{}];
//返回
[self dismissViewControllerAnimated:YES completion:^{ }];
第二:
利用UINavigationController,调用pushViewController,进行跳转;这种采用压栈和出栈的方式,进行Controller的管理。调用popViewControllerAnimated方法可以返回
WJPlayViewController * playerVC = [[WJPlayViewController alloc]init];
[self.navigationController pushViewController: playerVC animated:YES];