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

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

Description

@swzift
    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布局时无法自动刷新而且拖拽也无法触发刷新

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions