#pragma mark   ----  点击事件

-(void)leftTapClick:(UITapGestureRecognizer *)sender{
    
    //判断是否能返回到H5上级页面
    if (self.myWeb.canGoBack==YES) {
        //返回上级页面
        [self.myWeb goBack];
        
    }else{
        //退出控制器
//        [self dismissViewControllerAnimated:YES completion:nil];
        [self.navigationController popViewControllerAnimated:YES];
    }
    
    
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案