Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Doesn't seem to work with iOS 14 beta 5 #8

Open
btian opened this issue Aug 24, 2020 · 2 comments
Open

Doesn't seem to work with iOS 14 beta 5 #8

btian opened this issue Aug 24, 2020 · 2 comments

Comments

@btian
Copy link

btian commented Aug 24, 2020

No description provided.

@bpietsch
Copy link

In RefreshUIView.swift, replace lines 24-26 with the following

        guard let tableViewWrapper = target else { return }
        guard let tableView = tableViewWrapper.subviews.first as? UITableView else { return }

There appears to be one less layer in the view hierarchy now. Of course, this is a fragile fix as it's subject to breaking in a similar way in the future. A safer bet might just be to loop over the subviews going deeper into the hierarchy until a UITableView is found rather than hard coding the hierarchy.

@noppefoxwolf
Copy link
Owner

RefreshUI is no longer available.
I'm preferred to use Introspect.
https://github.com/siteline/SwiftUI-Introspect

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants