@IBOutlet and @IBAction refers to wrong project, how to get rid of those references?

前端 未结 7 2149
误落风尘
误落风尘 2021-02-20 02:32

I have copied and pasted some source code from one old xcode-project to another new project.

Included in the copied code where some @IB

7条回答
  •  别那么骄傲
    2021-02-20 03:22

    Try this:-

    Click on the Outlet dot

    click on the Main.Storyboard where it will Lead you

    Click on the View Controller and you'll see Your outlet Connected

    Remove the connection by clicking on the Close button and you're ready to go.

提交回复
热议问题