relatedcode / ProgressHUD

ProgressHUD is a lightweight and easy-to-use HUD for iOS. Over 5000+ animations. ‼️
https://relatedcode.com
MIT License
2.83k stars 464 forks source link

Change color by ProgressHUD.colorHUD works wrong #148

Closed crash481 closed 1 year ago

crash481 commented 1 year ago

Hello, when I do ProgressHUD.colorHUD = .black Then I need background color will be black. But it is not black It is light gray, see below Simulator Screenshot - iPhone 11 Pro - 2023-10-04 at 02 51 33

Here is same issue, but you close it without solution. https://github.com/relatedcode/ProgressHUD/issues/141

relatedcode commented 1 year ago

@crash481 You're absolutely right. The HUD view is implemented using UIToolbar, and due to the inherent limitations of UIToolbar's rendering capabilities, it can't be displayed in pure black. This is a constraint of the UIKit framework itself.