首页 > 其他 > 详细

Attempt to present <vc> on <vc> which is already presenting <vc>/(null)

时间:2016-10-25 18:54:13      阅读:1131      评论:0      收藏:0      [点我收藏+]

在给 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)

原文:http://www.cnblogs.com/code-Officer/p/5997422.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!