Alternate to control+drag to connect view element with file owner in xCode interface builder?

江枫思渺然 提交于 2020-01-02 01:10:42

问题


Working on an iPhone application through a TightVNC connection into a Mac Mini; the control+drag operation in Interface Builder to connect a view element to file owner doesn't work - I don't see the connecting line.

It does work when I connect keyboard, mouse and monitor to the Mini and work on it directly, however it is a lot more convenient for me to run it through a VNC connection. Must be some quirk of the TightVNC connection that is preventing this. I tried different TightVNC settings for the cursor (let server handle it and so on) but no luck.

Is there an alternative to control+drag to hook up outlets?


回答1:


You can try right-clicking by holding Control and clicking the element (depending on the keyboard settings, it might be Command click instead), this will show a popup, and then you can drag the circle on the right hand side of the property you want to link up.



来源:https://stackoverflow.com/questions/2725738/alternate-to-controldrag-to-connect-view-element-with-file-owner-in-xcode-inter

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