iOS 判断是push还是present
更新:HHH   时间:2023-1-7


iOS 判断是push还是present下面这种方法判断成功了
 if (self.presentingViewController)
  {
     [weakSelf dismissViewControllerAnimated:YES completion:nil];
   } 
  else {
      [weakSelf.navigationController popViewControllerAnimated:YES];      }


返回移动开发教程...