在API类中 进行页面跳转 有没有好的方法分享一下?
Z-J-Y opened this issue · comments
CSDN: https://blog.csdn.net/xjh093/article/details/79138836
github: https://github.com/xjh093/JHUIViewControllerDecoupler
- (void)pushSpecifiedVC:(NSString *)VCString parameter:(NSDictionary *)dic{
UIViewController *vc = [JHUIViewControllerDecoupler jh_controllerFromString:VCString paramter:dic];
[_navigationController pushViewController:vc animated:YES];
}
// _navigationController 为当前界面的 导航