iOS 判断是push还是present下面这种方法判断成功了
if (self.presentingViewController)
{
[weakSelf dismissViewControllerAnimated:YES completion:nil];
}
else {
[weakSelf.navigationController popViewControllerAnimated:YES]; }
Copyright © 2009-2022 www.wenjiangwz.cn 成都网站建设公司 版权所有 蜀ICP备19037934号