Xcode 8.3.3 - Not allowing to connect IBOutlet to the storyboard

早过忘川 提交于 2019-12-25 18:11:51

问题


I realised that my maps app was not connected to the new storyboard. I have tried everything (to my knowledge) and have just about run out of ideas.

And yes I have changed the class in the storyboard to the map controller that I am trying to connect it to.


回答1:


To connect objects to already existing outlets you need to mouseover the variable name instead of the gutter.

Like so:




回答2:


please check your class name in "show the identity inspector" panel as in following image.



来源:https://stackoverflow.com/questions/46270740/xcode-8-3-3-not-allowing-to-connect-iboutlet-to-the-storyboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!