Error in Xcode 6 - view controller does not have an outlet named (subview)

前端 未结 15 2099
刺人心
刺人心 2020-12-03 14:15

I just got this error in one of my apps, and after checking some other apps the same error is happening. None of my IBOutlets and IBActions are con

15条回答
  •  借酒劲吻你
    2020-12-03 14:43

    For me I had to remove the reference and add back to my project the -XIB- file for my view controller. Simply removing the view controller .h/.m did not reset the outlets, but removing the .xib and adding it back did!

提交回复
热议问题