How to make Pure SwiftUI pull to refresh?
Pull down to refresh data in SwiftUI — Xcode 12-iOS 14
In this tutorial, We are going to implement Pull to refresh using only SwiftUI components.
We are going to divide this problem in two parts:
- Logic to detect if user pull down the scroll view
- Add Progress view and pull down…