|
@@ -21,11 +21,6 @@ class PQStuckPointLoadingView: UIView {
|
|
loadingView.displayGIF(data: nil, images: images, repeatCount: .max, duration: duration ?? 2)
|
|
loadingView.displayGIF(data: nil, images: images, repeatCount: .max, duration: duration ?? 2)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
-// loadingView.kf.setImage(with: URL(fileURLWithPath: Bundle.init().BF_mainbundle().path(forResource: "stuckPoint_edit_loading", ofType: ".gif")!), completionHandler: { image, error, type, url in
|
|
|
|
-// loadingView.image = image?.withRenderingMode(.alwaysTemplate)
|
|
|
|
-// })
|
|
|
|
-// loadingView.startAnimating()
|
|
|
|
return loadingView
|
|
return loadingView
|
|
}()
|
|
}()
|
|
|
|
|
|
@@ -44,8 +39,7 @@ class PQStuckPointLoadingView: UIView {
|
|
super.init(frame: frame)
|
|
super.init(frame: frame)
|
|
addSubViews()
|
|
addSubViews()
|
|
addLayout()
|
|
addLayout()
|
|
- backgroundColor = UIColor.black
|
|
|
|
- alpha = 0.8
|
|
|
|
|
|
+ backgroundColor = UIColor.init(red: 0, green: 0, blue: 0, alpha: 0.8)
|
|
}
|
|
}
|
|
|
|
|
|
required init?(coder _: NSCoder) {
|
|
required init?(coder _: NSCoder) {
|