IOS中(类似于进度条哪种效果)MBProgressHUD的使用

1.显示HUD

MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];

hud.labelText = @"哥正在加载中...";

hud.dimBackground = YES;

2.移除hud

[MBProgressHUD hideAllHUDsForView:self.view animated:YES];

原文地址:https://www.cnblogs.com/changxs/p/3440494.html