1.将MBProgressHUD与MBProgressHUDManager添加进工程,包含头文件
#import "MBProgressHUDManager.h"
MBProgressHUDManager * hudManager = [[MBProgressHUDManager alloc] initWithView:self.view];
[hudManager showIndeterminateWithMessage:@"加载中..."];
#KVNProgress的使用
KVN的使用更加简单
#import "KVNProgress.h"
[KVNProgress showSuccess]
[KVNProgress showWithStatus:@"加载失败"];