Why can't I create a segue using the iOS Designer? - Xamarin Studio

守給你的承諾、 提交于 2019-12-10 13:33:45

问题


I have been using Xamarin inside of Visual Studio for a little while now but I thought I would give Xamarin Studio a go on my Mac.

All is well until I try to create a segue on the storyboard.

I have two view controllers, one being the main one. I add a button then CTRL + drag from the button to the second view controller. In VS this works great however in Xamarin Studio when I release the button the segue menu pops up and closes instantly not allowing me to select the desired option.

Has anyone come across this before? If so, how did you resolve it?


回答1:


With a fair amount of hair pulling and tinkering I worked out what the issue was.

Force Click on the new trackpads! I had to disable it otherwise the SEGUE menu kept disappearing. I assume this was because it thought I was doing something else like right clicking.

To disable it:

CMD+Space, type Trackpad, open Trackpad settings up. Uncheck the last checkbox on the first tab titled "Force Click and Haptic Feedback".

Hey presto, Xamarin Studio works as it should.



来源:https://stackoverflow.com/questions/39507256/why-cant-i-create-a-segue-using-the-ios-designer-xamarin-studio

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