当 UIRefreshControl
正在刷新/动画时,它的高度似乎是 60
点。有没有办法让它变窄?我想将 UIRefreshControl
的高度设为 44
点
编辑:可能的重复没有有效的解决方案,它被要求用于 ObjC
最佳答案
试试这个:
let refreshControl = UIRefreshControl()
refreshControl.transform = CGAffineTransform(scaleX: 0.5, y: 0.5)
输出:
没有转换的输出:
关于ios - 设置更窄的 UIRefreshControl 的刷新高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50398928/