小编Jor*_*tto的帖子

SwiftUI: DragGesture in ScrollView doesn't register scrolling when swipe begins on DragGesture view

So I have this really nice animation I want when a user presses a view, where it will sort of "bounce" under their finger as if it reacted to the touch.

Initial Goal

I need to register when the user presses down on the view (black rectangle in this example), so I can start shrinking it, then I need to register when they release on the view, so I can allow it to return to it's original size. User …

animation scrollview gesture swift swiftui

4
推荐指数
1
解决办法
2764
查看次数

标签 统计

animation ×1

gesture ×1

scrollview ×1

swift ×1

swiftui ×1