Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下のような奇妙なコンパイルの問題:
クラス "ViewController" を正しくインポートしましたが、図に示すようなエラー コンパイル メッセージが表示されるのはなぜですか? それを修正する方法は?ありがとう!
インポートの代わりにこれを追加してみてください:
@class ViewController
ViewControll.hにもPGConductorをインポートしていますか?あなたの輸入品とのサイクリング行動かもしれません。
@class ViewController後に追加してみてください#import "ViewController.h"
#import "ViewController.h"
あなたの問題が解決されることを願っています