Xcode 8.3.3 - 不允许将 IBOutlet 连接到故事板 [英] Xcode 8.3.3 - Not allowing to connect IBOutlet to the storyboard

查看:40
本文介绍了Xcode 8.3.3 - 不允许将 IBOutlet 连接到故事板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我意识到我的地图应用没有连接到新的故事板.我已经尝试了一切(据我所知),但几乎没有任何想法.

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.

推荐答案

要将对象连接到现有的出口,您需要将鼠标悬停在变量名称而不是装订线上.

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

像这样:

这篇关于Xcode 8.3.3 - 不允许将 IBOutlet 连接到故事板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆