Why can't I create a segue using the iOS Desig

2019-06-18 13:34发布

问题:

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.