iOS錯誤:Push segues can only be used when the source controller is managed by an instance of UINavigationController.

October 18, 2013 at 3:36 AMAdmin

我試圖在ios apps上添加一個按鈕。而希望在點擊它後,會跳另一個Navigation Control屏幕。 但我執行App時,在點擊按鈕後,這個錯誤,“"Push segues can only be used when the source controller is managed by an instance of UINavigationController"就出現了。不過,我不嘗試改變程式中不同的參數時,就偶然找出解決方案。只要把按鈕的Action由Push,改為Modal。 然後,就可以成功執行App啦! -

Posted in: ios

Tags:

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading