I am using MBProgressHUD and want to make the bezelView to br transparent.
import UIKit
import MBProgressHUD
class ProgressBarManager {
func showProgressBar() {
guard let testView = UIApplication.shared.windows.last else { return }
let hud = MBProgressHUD.showAdded(to: testView, animated: true)
hud.bezelView.layer.cornerRadius = 5
hud.bezelView.backgroundColor = .clear
hud.backgroundView.style = .solidColor
hud.backgroundView.color = UIColor(white: 0, alpha: 0.3)
}
}
Yet the bezelView still shows:
Is there a way to hide it?