Why my `IBAction` linked to another Project’s main.storyboard's view

54 Views Asked by At

I copied a file named xxcontroller.m from another project. And than I found -(IBAction)XXX is linked to the previous project! How to delete this relation?

1

There are 1 best solutions below

2
On BEST ANSWER

Just delete that connection by renaming the -(IBAction)XXX to -(IBAction)YYY & replace the name to YYY from where you are calling it in selector. And hope it will solve your issue.

Happy Coding