Closed carlosandresSanchez closed 8 years ago
@carlosandresSanchez Solution: need use just:
[mbProgressHUD.bezelView setBackgroundColor:[UIColor darkGrayColor]];
@carlosandresSanchez This works for me:
[hud.bezelView setBackgroundColor:[UIColor blackColor]];
hud.contentColor = [UIColor whiteColor];
But how to remove the background? I tried this, but nothing happens :
[hud.bezelView setBackgroundColor:[UIColor clearColor]];
hud.contentColor = [UIColor clearColor];
@ed8009 maybe:
[hud.bezelView setBackgroundColor:[UIColor clearColor]];
hud.bezelView.contentColor = [UIColor clearColor];
?
@MeGaPk
Is it possible?
hud.bezelView.contentColor
It seems that it works:
[progressHud.bezelView setBackgroundColor:[UIColor clearColor]];
progressHud.bezelView.color = [UIColor clearColor];
progressHud.bezelView.style = MBProgressHUDBackgroundStyleSolidColor;
Well, with all the comments, I found the following:
"contentColor"
if you want to change the spinner's color"bezelView.color"
if you wan to change the background color of the hub. You need to set "bezelView.style"
as MBProgressHUDBackgroundStyleSolidColor
to remove the blur effect.Thanks for your help!!
I upgrade to the version 1.0.0.
How can i change the background color when i use
[MBProgressHUD showHUDAddedTo:view animated:YES]
?I tried this, but nothing happens :