2013-05-21 50 views
0

我在iOS開發方面很新穎,我被困在使用故事板。我有一個模式視圖(ZoekCriteriaViewCOntroller),它上面有一個按鈕。當按鈕被按下時,我想解除視圖,並推動我的tableviewcontroller ..我得到的錯誤:無法找到一個導航控制器的搜查segue'。Dismiss modal and push a segue

從ZoekCriteriaViewController到KRoegenTableViewController的賽格瑞被稱爲searchedSegue

的代碼我使用(C#):

   this.DismissViewController(true,() => { 
       this.PerformSegue("searchedSegue", this); 
      }); 

我的故事板: enter image description here

有沒有人能幫助我有這個問題嗎?

回答

0

當您使用segues時,您不會關閉呼叫控制器!只要做

this.PerformSegue("searchedSegue", this);