2016-07-27 92 views
0

我正在使用segue將文件傳輸到下一個UIViewController。 第一個視圖的名稱是RecordSoundsViewController,第二個視圖的名稱是PlaySoundsViewController。 當我使用segue.destinationViewController作爲! PlaySoundsViewController它顯示錯誤「使用未聲明的類型'PlaySoundsViewController」。 我不知道如何聲明UIViewController的類型。 請幫助使用未聲明的類型'UIViewController'

enter image description here

+1

使用import PlaySoundsViewController –

回答

1

是否使用多個目標?如果是這樣,請從身份檢查員中選擇Target-membership中適用於您的班級的目標。

或者檢查公共類,私人類的訪問級別。

相關問題