iPad - iPhone Large UIActivityIndicatorView

Viewed 13052

I need to make a large spinner (with grey style, about 80x80px) but it looks low quality. Is there a way to make it high quality or to replace the animated image?

7 Answers

You could try something like:

activityIndicator.transform = CGAffineTransform(scaleX: 1.3, y: 1.3)

However, if you make it big enough, you'll be able to see the pixels...

Swift 4.2

extension UIActivityIndicatorView {
    func makeLargeGray() {
        style = .whiteLarge
        color = .gray
    }
}
Related