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