簡化MBProgressHUD的使用方式
- 作者: 最帅的小丑
- 来源: 51数据库
- 2022-08-17
#import "MBProgressHUDManager.h" @property (nonatomic, strong) MBProgressHUDManager *HUDManager; - (void)viewDidLoad { [super viewDidLoad]; self.HUDManager = [[MBProgressHUDManager alloc] initWithView:self.navigationController.view]; [self.HUDManager showIndeterminateWithMessage:@"With a block" duration:2 complection:^{ }]; }
推荐阅读