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

SnapKit布局时无法在不拖动时刷新 #47

Open
swzift opened this issue Nov 23, 2018 · 0 comments
Open

SnapKit布局时无法在不拖动时刷新 #47

swzift opened this issue Nov 23, 2018 · 0 comments

Comments

@swzift
Copy link

swzift commented Nov 23, 2018

    let tableView = UITableView(frame: .zero, style: .plain)
    view.addSubview(tableView)
    tableView.snp.makeConstraints { (make) in
        make.edges.equalToSuperview()
    }
    tableView.configRefreshHeader(container: self) {
        _ = delay(2, task: {})
    }
    tableView.switchRefreshHeader(to: .refreshing)

修改为frame布局时正常,snapkit布局时无法自动刷新而且拖拽也无法触发刷新

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

1 participant