首页 > 代码库 > Attempt to present <vc> on <vc> which is already presenting <vc>/(null)
Attempt to present <vc> on <vc> which is already presenting <vc>/(null)
在给 tableViewCell 添加长按手势弹出一个 popViewController 的时候,遇到的这个变态问题;
Warning: Attempt to present <UINavigationController: 0x15f259c00> on <RepoDetailViewController: 0x160271400> which is already presenting (null)
我的solution :
不使用手势去运行此方法。换用了button的addTarget.反正不能再用长按手势了!
[self presentViewController:vc animated:YES complished:nil];
Attempt to present <vc> on <vc> which is already presenting <vc>/(null)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。