iOS模拟器在Apple M1上滚动太快 [英] iOS Simulator scrolls too fast on Apple M1
问题描述
我正在运行一个Flutter项目,当在模拟器上拖动任何列表或滚动视图时,它以太大的力量滚动,几乎无法到达我需要的行.
I'm running a flutter project and when dragging any list or scroll view on the simulator, it scrolls with way too much force rendering almost impossible to get to the row I need.
这仅在模拟器中发生,并且在真实设备上似乎可以正常工作.另外,当我迁移到Apple M1 MacBook Pro时,也会出现此问题.
This only happens in the simulator, and it seems to work fine on a real device. Also, this problem started when I had migrated to an Apple M1 MacBook Pro.
有什么想法吗?
推荐答案
我遇到了类似的问题,但就我而言,该问题与 速度 无关,但有所不同.
I experienced a similar issue but the problem, in my case, is not related to speed but something different.
具体来说,如果您强制iOS模拟器在Rosetta下运行,您会发现它可以按预期运行.不知道为什么,但这就是我正在经历的.始终可重现1.22.5(稳定).
Specifically, if you force your iOS Simulator to run under Rosetta you'll see that it works as expected. Not sure why, but this is what I'm experiencing. Always reproducible with 1.22.5 (stable).
要在Rosetta中运行,请右键单击Xcode并选择显示包内容",然后从其中导航到内容>开发人员>应用".在那里,您将找到模拟器应用程序.如果右键单击它并选择显示信息",则会找到使用Rosetta运行它的选项.
To run in Rosetta, right click on Xcode and choose "Show Package Contents", from there you navigate to "Contents > Developer > Applications," There you'll find the Simulator app. If you right click on it and choose "Show info", you'll find an option to run it using Rosetta.
这篇关于iOS模拟器在Apple M1上滚动太快的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!