jdg / MBProgressHUD

MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k stars 3.56k forks source link

It's not feasible to set the HUD background color dark in ios13 #604

Open KYYoungA opened 4 years ago

KYYoungA commented 4 years ago

Setting the background to black on ios13 doesn't work and the view is still light white. For example: MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:view animated:YES]; HUD.mode = MBProgressHUDModeIndeterminate; HUD.bezelView.backgroundColor = [UIColor colorWithHexString:@"#282828"]; HUD.bezelView.style = MBProgressHUDBackgroundStyleBlur; HUD.removeFromSuperViewOnHide = YES; HUD.contentColor = [UIColor whiteColor]; HUD.offset = CGPointMake(0, -64); HUD.detailsLabel.text = nil;