I’ve a swiftUI view that accommodates a scrollView. This scroll view accommodates a bunch of views:
public var physique: some View {
MainScrollView(scrollStore: feedScrollStore) {
VStack {
logoView
.body(peak: 50)
mainComponents
}
.body(width: UIScreen.most important.bounds.width)
}
}
mainComponents
is simply an array that accommodates bunch of views.
My scroll view bounds, that’s vital.
Now I’ve a state of affairs after I must disable bounds and enhance peak of logoView
in different phrases I’ve to immitate a bouncing however with the logoView so I might set some customized animations to the brand whe consumer tryes to scroll down when the scrollView is on the highest.
How might I try this with swiftUI? Any concepts?
Thanks upfront