1

Pretty much ive used code like this https://stackoverflow.com/a/44521796/9610805 into my webview project and it works fine but how do i add my own logo* instead of the default spinning circle?

Bob McCain
  • 23
  • 4

1 Answers1

0
var refreshImageView = UIImageView(image: UIImage(named: "yourImage.png"))
refreshControl?.insertSubview(refreshImageView, at: 0)  

If you are willing to go for custom library instead, I would like t5o suggest Yalantis PullToMakeSoup

Nitish
  • 13,845
  • 28
  • 135
  • 263
  • Cant centre the icon exactly horizontally properly lmao im going to keep trying but it seems to look good and ill add an animation to it. oh and how do i hide the circle spinning thing that is still there? – Bob McCain Apr 07 '18 at 13:17
  • Uhh Never ended up centering it to the middle , right now the image spawns to the top left – Bob McCain Apr 08 '18 at 01:00