當前位置:
首頁 >
Attempt to present vc on vc which is already presenting vc/(null)
發布時間:2024/4/13
48
豆豆
生活随笔
收集整理的這篇文章主要介紹了
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];
轉載于:https://www.cnblogs.com/code-Officer/p/5997422.html
超強干貨來襲 云風專訪:近40年碼齡,通宵達旦的技術人生總結
以上是生活随笔為你收集整理的Attempt to present vc on vc which is already presenting vc/(null)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: zookeeper环境搭建以及测试
- 下一篇: kvc error