- (void)backAction:(UIButton *)sender{
UIViewController *vc =self.presentingViewController;
//ReadBookController要跳转的界面
while (![vc isKindOfClass:[ReadBookController class]]) {
vc = vc.presentingViewController;
}
[vc dismissViewControllerAnimated:YES completion:nil];
}
网友评论