Change MBProgressHUD color

1 comment on Change MBProgressHUD color

Written by

in

To change the background color of MBProgressHUD comment this line and add this in MBProgressHUD.m in drawRect method:

    //CGContextSetGrayFillColor(context, 0.0f, self.opacity);
    CGFloat fillColor[4]    = {0.0,0.0,1.0,1.0};
    CGContextSetFillColor(context, fillColor);

This code changes HUD color to blue.

Comments

One response to “Change MBProgressHUD color”

  1. Dillon Avatar

    Do you want unlimited articles for your website ?

    I am sure you spend a lot of time writing articles, but you can save it for other tasks, just type in google: kelombur’s favorite tool

Leave a Reply

Your email address will not be published. Required fields are marked *