mutualmobile / MMProgressHUD

An easy-to-use HUD interface with personality.
MIT License
705 stars 131 forks source link

How can I use custom view to replace the UIActivityIndicatorView when showed #20

Closed mrcrow closed 10 years ago

mrcrow commented 10 years ago

I want to use a UIView instance of SpinKit-Objc as a loading view to replace the default UIActivityIndicatorView in my app, but found no way to set.

larsacus commented 10 years ago

You can set a custom progress indicator by using the +[MMProgressHUD setProgressViewClass:]. The class you pass in here must conform to the MMProgressView protocol.