jdg / MBProgressHUD

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

How to change UIActivityIndicatorView style? #313

Closed Thavasidurai closed 8 years ago

Thavasidurai commented 8 years ago

Thanks for this wonderful library!

I don't find any easy way to change the UIActivityIndicatorView style, it will be better if you add a property to change the UIActivityIndicatorView style.

Currently the default style has been set as UIActivityIndicatorViewStyleWhiteLarge.If anyone wants to change it into UIActivityIndicatorViewStyleWhite then they have to modify it in MBProgressHUD.m so it would be really helpful if u include the property to change

matej commented 8 years ago

Just set your customized indicator as the customView.

Thavasidurai commented 8 years ago

@matej Thanks for your response!

Yes, we can set customized indicator as the customView but still it will be more easier if we add a property as like activityIndicatorColor

matej commented 8 years ago

activityIndicatorColor will be deprecated in the next version. Trying to keep the API compact. https://github.com/matej/MBProgressHUD/blob/v1/MBProgressHUD.h#L401

Thavasidurai commented 8 years ago

Cool! thanks for pointing this out I close this issue.