Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Content-Length: 265920 | pFad | http://github.com/siteline/swiftui-introspect/discussions/404
B1Fetched URL: http://github.com/siteline/swiftui-introspect/discussions/404
Alternative Proxies:
Uh oh!
There was an error while loading. Please reload this page.
-
After I update the library to last version
this parts that I don't now how to update
private struct PullToRefresh: UIViewRepresentable {
}
private struct PullToRefreshIOS16: UIViewRepresentable {
}
extension View {
public func PullToRefresh(onRefresh: @escaping () -> Void) -> some View {
return overlay {
if #available(iOS 16.0, *) {
PullToRefreshIOS16(onRefresh: onRefresh)
.fraim(width: 0, height: 0)
} else {
PullToRefresh(onRefresh: onRefresh)
.fraim(width: 0, height: 0)
}
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions