ios 模拟器慢动作动画现在开了吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8624519/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Simulator slow-motion animations are now on?
提问by Jules
A while ago I was experimenting, trying to see if i could get navigation items to animate and scroll between each other.
不久前,我正在试验,试图看看我是否可以让导航项目在彼此之间设置动画和滚动。
I don't know if this is related but suddenly without touching the simulator options I'm getting this message Simulator slow-motion animations are now on
and moving between views is very slow, like 3 seconds. This occurs with all animation effects.
我不知道这是否相关,但突然间没有触及模拟器选项,我收到此消息Simulator slow-motion animations are now on
并且在视图之间移动非常缓慢,例如 3 秒。所有动画效果都会发生这种情况。
Any idea what I need to do to stop this ?
知道我需要做什么来阻止这种情况吗?
回答by BoltClock
The shortcut as of Xcode 6 is Command ?+T. This toggles it between on and off, so to turn it off just punch that combination.
Xcode 6 的快捷方式是Command ?+ T。这会在打开和关闭之间切换,因此要关闭它,只需按下该组合即可。
回答by compilererror
Just figured this out:
刚刚想通了这个:
You can toggle slow-motion animations on and off by pressing Shift three times in succession while the iOS Simulator is in focus.
当 iOS 模拟器处于焦点时,您可以通过连续按三下 Shift 来打开和关闭慢动作动画。
回答by Chris Chen
because there's no home button in the iPad simulator since iOS 5.0, we need a key combination (shift+command+h), which may activate slow motion. This glitch keeps happening to me, and quite annoying.
因为从iOS 5.0 开始,iPad 模拟器中没有home 键,所以我们需要一个组合键(shift+command+h),它可能会激活慢动作。这个故障一直发生在我身上,很烦人。
回答by Divine Davis
回答by porglezomp
I ran into this same problem, and it seems that now the shortcut is ⌘+Tto toggle it on any app that you're running. If you're on the home screen it should toggle all of the base OS animation speeds.
我遇到了同样的问题,现在似乎快捷方式是⌘+T以在您正在运行的任何应用程序上切换它。如果您在主屏幕上,它应该切换所有基本操作系统动画速度。
回答by software evolved
One reason this keeps happening to me is I use a VNC viewer to remotely work on my Mac mini, and it defaults to sending repeated keypresses whenever any key (including shift) is held down.
这种情况一直发生在我身上的一个原因是我使用 VNC 查看器在我的 Mac mini 上远程工作,并且默认情况下每当按下任何键(包括 shift)时都会发送重复的按键。
So even though "I" am not pressing shift multiple times, if I use the physical keyboard to enter text, then just holding shift down long enough to type a few letters results in the Mac seeing it multiple times and toggling the slow animations.
因此,即使“我”没有多次按下 shift,如果我使用物理键盘输入文本,那么只要按住 shift 足够长的时间来输入几个字母,Mac 就会多次看到它并切换慢速动画。
One work around is to not use the physical keyboard, but instead always "type" using the mouse to select letters on the simulators pop-up keyboard.
一种解决方法是不使用物理键盘,而是始终使用鼠标“键入”以在模拟器弹出键盘上选择字母。
回答by simran
When simulator is open, simulator window show 6 commands including file, edit, hardware, debug, window and help.
当模拟器打开时,模拟器窗口显示 6 个命令,包括文件、编辑、硬件、调试、窗口和帮助。
Just click on Debug and the first position is stop animation window+ Tcommand is use for it.
只需单击调试,第一个位置是停止动画window+T命令用于它。
If the slow animation is checked then simply unchecked it.
如果选中慢速动画,则只需取消选中它。
回答by Michael Yousrie
回答by Yuji 'Tomita' Tomita
I couldn't fix it with triple shift, or triple home.
我无法通过三班倒或三班回家来解决它。
Could not fix via Debug->Toggle Slow Animation either.
也无法通过 Debug->Toggle Slow Animation 修复。
Instead, you can reset the whole damn thing: iOS Simulator -> Reset Content and Settings.
相反,您可以重置整个该死的事情:iOS 模拟器 -> 重置内容和设置。
Note that I had 2 problems.. slow motion inside the app (which was toggled by the debug->toggle menu) and slow motion when I switch between apps, aka "everything". I was only able to fix the global slow mo by resetting.
请注意,我有 2 个问题.. 应用程序内的慢动作(由调试-> 切换菜单切换)和我在应用程序之间切换时的慢动作,也就是“一切”。我只能通过重置来修复全局慢动作。
回答by Aniruddh Joshi
On 5.1 it can be toggled by hitting Shift twice, just like we do double-click on mouse.
在 5.1 上,它可以通过按两次 Shift 来切换,就像我们双击鼠标一样。