首页 > 代码库 > iOS 判断是push还是present

iOS 判断是push还是present

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


本文出自 “雪花飞落满人间” 博客,请务必保留此出处http://smengxiang.blog.51cto.com/11204872/1893460

iOS 判断是push还是present