“Could not find any information for class named ViewController”

后端 未结 30 2010
南方客
南方客 2020-12-02 06:35

This bug has been driving me nuts since I started using Xcode (4.6.3). Whenever I try to link a Storyboard item to my code, I get the error:

Could not

30条回答
  •  鱼传尺愫
    2020-12-02 07:33

    If people try the above and things are still not working, the strange trick that worked for me was adding the outlet in a chunk of whitespace. It works if there are no other lines directly above or below the line you're adding. Strange, but it worked!

提交回复
热议问题