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

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

    I was having the same issue but it was because i changed the name of the view controller in the Project Navigator to MapViewController but its name stayed the same (ViewController) in the code. once i changed it, it worked

提交回复
热议问题