MBProgressHUD简单使用

先留个眼,后续补充

最基础的显示,关闭
//开启菊花
MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.navigationController.view animated:YES];
//自定义菊花背景颜色
hud.bezelView.style = NSPersonNameComponentsFormatterStyleMedium;
hud.bezelView.backgroundColor = [UIColor redColor];
//关闭菊花
[hud hideAnimated:YES];

你可能感兴趣的:(MBProgressHUD简单使用)