Warning: Attempt to present * on * which is already presenting (null)

后端 未结 16 614
盖世英雄少女心
盖世英雄少女心 2021-02-03 17:14

This is my first application for iOS.

So I have a UIVIewController with a UITableView where I have integrated a UISearchBar and a

16条回答
  •  孤街浪徒
    2021-02-03 17:30

    My problem was that (in my coordinator) i had presented a VC on a VC and then when i wanted to present the next VC(third one), presented the third VC from the first one which obviously makes the problem which is already presenting. make sure you are presenting the third one from the second VC.

    secondVC.present(thirdVC, animated: true, completion: nil)
    

提交回复
热议问题