Xcode SwiftUI how to scroll the Preview Canvas?

Viewed 2555

I have started working with SwiftUI Demo.

But I am not able to scroll the Preview canvas in Xcode.

Yes there is button for zooming like - 100 + .

I have seen a video where person is scrolling this canvas during the tutorial

is there any option in Xcode to enable scrolling in preview canvas ?

enter image description here

2 Answers

Seems to be a trackpad vs mouse wheel issue. Try scrolling with the trackpad, it should work until Apple gets this bug patched. Haven't tried with a bluetooth trackpad, might be worth looking into.

On my MacBook Pro (Big Sur, 11.2.3), I place two fingers on the trackpad and move them up and down to scroll between previews in the canvas of Xcode 12.5 beta 3.

Hope that helps. I'm new to Mac to perhaps this was just obvious to everyone else.

Related