修改MBProgressHUD背景框为黑色

2017-02-25  本文已影响644人  优雅地小男子

MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:[[UIApplication sharedApplication].windows lastObject] animated:YES];

HUD.animationType=MBProgressHUDAnimationFade;

HUD.label.text= text;

[HUD showAnimated:YES];

HUD.bezelView.backgroundColor = [UIColor blackColor];

HUD.label.textColor = White;

HUD.activityIndicatorColor = White;

上一篇下一篇

猜你喜欢

热点阅读