SVProgressHUD progress bar mask and svprogresshud progress bar
GitHub: https://github.com/samvermette/SVProgressHUD
SVProgressHUD and MBProgressHUD have similar effects, but no protocol is required, and instances do not need to be declared.
You can call it directly through the class method:
[SVProgressHUD method]
You can use the following methods to display the status:
+ (void)show;+ (void)showWithMaskType:(SVProgressHUDMaskType)maskType;+ (void)showWithStatus:(NSString*)string;+ (void)showWithStatus:(NSString*)string maskType:(SVProgressHUDMaskType)maskType;
To clarify the progress, use the following method:
+ (void)showProgress:(CGFloat)progress;+ (void)showProgress:(CGFloat)progress status:(NSString*)status;+ (void)showProgress:(CGFloat)progress status:(NSString*)status maskType:(SVProgressHUDMaskType)maskType;
Use the dismiss method to hide the prompt:
+ (void)dismiss;
In addition, the following methods are provided to display the status and automatically hide the prompt after 1 second
+ (void)showSuccessWithStatus:(NSString*)string;+ (void)showErrorWithStatus:(NSString *)string;+ (void)showImage:(UIImage*)image status:(NSString*)string;// use 28x28 white pngs