p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Menlo; color: #1d9421}span.s1 {font-variant-ligatures: no-common-ligatures}span.s2 {font: 18.0px 'PingFang SC'; font-variant-ligatures: no-common-ligatures}
// UIViewController *vc =self.presentingViewController;
//
// //ReadBookController要跳转的界面
// DWMainViewController * dvc=[DWMainViewController new];
// while (![vc isKindOfClass:[dvc class]]) {
//
//
//
// vc = vc.presentingViewController;
//
//
// }
方法二的带导航栏
for (UIViewController *controller in self.navigationController.viewControllers) {
if ([controller isKindOfClass:[SureGoodOrderViewController class]]) {
SureGoodOrderViewController *dvc =(SureGoodOrderViewController *)controller;
[self.navigationController popToViewController:dvc animated:YES];
}
}