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

首次下拉时header显示的是未修改前的pulltorefresh,请问如何修改? #45

Open
Kevinsamer opened this issue Oct 23, 2018 · 0 comments

Comments

@Kevinsamer
Copy link

已按照demo设置了header的文字,但是首次下拉不改变
xcode9.1,ios11.1,模拟器iphoneX
使用的是v0.8.8
望解答

lazy var header: DefaultRefreshHeader = {
let header = DefaultRefreshHeader.header()
header.setText("下拉刷新", mode: .pullToRefresh)
header.setText("释放刷新", mode: .releaseToRefresh)
header.setText("数据刷新成功", mode: .refreshSuccess)
header.setText("刷新中...", mode: .refreshing)
header.setText("数据刷新失败,请检查网络设置", mode: .refreshFailure)
header.tintColor = #colorLiteral(red: 0.9995891452, green: 0.6495086551, blue: 0.2688535452, alpha: 1)
header.imageRenderingWithTintColor = true
header.durationWhenHide = 0.4
return header
}()

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