先留个眼,后续补充
最基础的显示,关闭
//开启菊花
MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.navigationController.view animated:YES];
//自定义菊花背景颜色
hud.bezelView.style = NSPersonNameComponentsFormatterStyleMedium;
hud.bezelView.backgroundColor = [UIColor redColor];
//关闭菊花
[hud hideAnimated:YES];
网友评论