I am using a PullToRefresh activity indicator in my app. But somewhere I have used UIActivityIndicatorView, it's size is smaller than PullToRefresh Indicator. Is there any way to get the same size and color as a PullToRefresh indicator? I tried to modify UIActivityIndicatorView but is worthless. Here is my code:
@IBOutlet weak var activityIndicator: UIActivityIndicatorView! {
didSet {
if activityIndicator != nil {
let transform = CGAffineTransform(scaleX: 2.0, y: 0.75)
activityIndicator.transform = transform
}
}
}
I want output like this
My current view is like this