为什么我不能使用 iOS 设计器创建转场?- Xamarin 工作室 [英] Why can't I create a segue using the iOS Designer? - Xamarin Studio

查看:17
本文介绍了为什么我不能使用 iOS 设计器创建转场?- Xamarin 工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 中使用 Xamarin 已经有一段时间了,但我想我会在我的 Mac 上使用 Xamarin Studio.

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.

我有两个视图控制器,一个是主要的.我添加一个按钮,然后 CTRL + 从按钮拖动到第二个视图控制器.在 VS 中,这很有效,但是在 Xamarin Studio 中,当我释放按钮时,segue 菜单会弹出并立即关闭,不允许我选择所需的选项.

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?

推荐答案

经过反复摸索和修补,我弄清楚了问题所在.

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

强制点击新的触控板!我不得不禁用它,否则 SEGUE 菜单会一直消失.我认为这是因为它认为我在做其他事情,例如右键单击.

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.

禁用它:

CMD+Space,输入触控板,打开触控板设置.取消选中标题为强制点击和触觉反馈"的第一个选项卡上的最后一个复选框.

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

您好,Xamarin Studio 正常工作.

Hey presto, Xamarin Studio works as it should.

这篇关于为什么我不能使用 iOS 设计器创建转场?- Xamarin 工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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