Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Simulator scrolls too fast on Apple M1

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.

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.

Drag is minimal

Any ideas?

like image 969
Jacobo Koenig Avatar asked Dec 28 '20 10:12

Jacobo Koenig


People also ask

How do I scroll in iOS simulator?

You can click the trackpad and drag (as other folks have said), or if you have "Three finger drag" enabled in Trackpad preferences, you can scroll with three fingers. Show activity on this post. You need to click and hold to scroll.

How can I make iOS simulator run faster?

Close unused applications to free system resources such as cpu & memory. make sure "slow animations" is not selected in the simulator debug menu. Short cut for this is ⌘T simulator -> Debug -> slow animations.

Is the M1 too slow for some applications?

While the M1 has some limitations (particularly in memory capacity and ports), overall price/performance has been exceptional. But, if you've upgraded recently from an Intel Mac (particularly if you used the Migration Tool), you might have found that some favorite applications seem more sluggish than you remember.

Why do my apps feel weird on my new Mac?

The reason some iOS apps feel weird on the Mac is that they were designed for touch, not for a cursor and keyboard. Introducing Macs with touchscreens won’t change the Mac’s status as a mouse-first operating system, but it will offer alternate modes of input—and open up better compatibility with some iOS apps.

What are the M1 Macs?

The M1 Macs are an impressive evolutionary change in the 30-year history of the Macintosh computer. While the M1 has some limitations (particularly in memory capacity and ports), overall price/performance has been exceptional.

Does Apple need to do more to improve catalyst for iOS?

Apple needs to continue to develop Catalyst and make it as easy as possible for iOS developers to make apps that work great both on iPads with the Magic Keyboard attached, and on Macs. The less work developers have to do to make their apps great across a wide range of Apple devices, the more likely they are to do the work.


Video Answer


2 Answers

I experienced a similar issue but the problem, in my case, is not related to speed but something different.

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).

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 "Get Info", you'll find an option to run it using Rosetta.

Update 14/9/2021: Xcode 12.5.1 no longer needs the above workaround. Scrolling is working fine out-of-the-box.

like image 110
valvoline Avatar answered Oct 21 '22 17:10

valvoline


[2022 update] The accepted answer no longer works, as there is no option in the iOS Simulator's Get Info dialog to run with Rotessa. Instead, what you can do is launch the iOS Simulator from Terminal using the following command:

arch -x86_64 /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
like image 1
Justin Avatar answered Oct 21 '22 17:10

Justin