MBProgressHUD简单使用
2017-06-05 本文已影响65人
郑州程序员王一
先留个眼,后续补充
最基础的显示,关闭
//开启菊花
MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.navigationController.view animated:YES];
//自定义菊花背景颜色
hud.bezelView.style = NSPersonNameComponentsFormatterStyleMedium;
hud.bezelView.backgroundColor = [UIColor redColor];
//关闭菊花
[hud hideAnimated:YES];