日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

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)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。