I have a standart app with a view, which you can scale in/out by pinch gesture. It's work, but I have a little delay at first, it look like jumpy zoom. Does anybody know a solution to make it work smoother ? Example of code here:
VStack {
Image("image")
.resizable()
.scaledToFill()
.frame(width: UIScreen.main.bounds.width, height: 200)
.scaleEffect(scale)
.gesture(MagnificationGesture()
.updating($scale, body: { (value, scale, trans) in
scale = value.magnitude
})
)
}