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

前端 未结 15 2080
刺人心
刺人心 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:44

    Do you get the same issue if you connect the actions/outlets in Interface Builder instead of the assistant editor? For actions try control dragging from your object in IB to your first responder object (or whatever you have your class set to).

提交回复
热议问题