1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| let imageView: UIImageView = YCImageView.yc_image(urlString: "xxxx", option: .none, progress: nil, transform: nil, completion: nil) as UIImageView
----------------------------------------------------------------------------------------
let imageView: LOTAnimationView = YCImageView.yc_image(urlString: "xxxx", option: .none, progress: nil, transform: nil, completion: nil) as LOTAnimationView
imageView.play()
imageView.stop()
----------------------------------------------------------------------------------------
let imageView: YYAnimatedImageView = YCImageView.yc_image(urlString: "xxxx", option: .none, progress: nil, transform: nil, completion: nil) as YYAnimatedImageView
imageView.startAnimating()
imageView.stopAnimating()
|