Reading time: 6 min
Pull to refresh is a common UI pattern, supported in
UIRefreshControl. (Un)surprisingly, it's also unavailable in SwiftUI.
This recipe shows how to implement this functionality with any
ScrollView. It also doesn't rely on
UIViewRepresentable. The end result will look like this:
Search our recipes!
Have a recipe for us?
Get in touch and let's grow the cookbook together!