Attempt to present vc on vc which is already presenting vc/(null)
生活随笔
收集整理的這篇文章主要介紹了
Attempt to present vc on vc which is already presenting vc/(null)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
在給 tableViewCell 添加長按手勢彈出一個 popViewController 的時候,遇到的這個變態(tài)問題;
Warning:?Attempt to present <UINavigationController: 0x15f259c00>? on <RepoDetailViewController: 0x160271400> which is already presenting (null)
?
我的solution :?
不使用手勢去運行此方法。換用了button的addTarget.反正不能再用長按手勢了!
[self presentViewController:vc animated:YES complished:nil];
轉(zhuǎn)載于:https://www.cnblogs.com/code-Officer/p/5997422.html
超強干貨來襲 云風(fēng)專訪:近40年碼齡,通宵達(dá)旦的技術(shù)人生總結(jié)
以上是生活随笔為你收集整理的Attempt to present vc on vc which is already presenting vc/(null)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: zookeeper环境搭建以及测试
- 下一篇: s3c2440移植MQTT