@interface MBProgressHUD : UIView
/**
* HUD完全隐藏后执行的block.
*/
@property (copy) MBProgressHUDCompletionBlock completionBlock;
/**
* MBProgressHUD 操作模式. 默认是 MBProgressHUDModeIndeterminate.
*
* @see MBProgressHUDMode
*/
@property (assign) MBProgressHUDMode mode;
/**
* HUD显示和隐藏时使用的动画类型.
*
* @see MBProgressHUDAnimation
*/
@property (assign) MBProgressHUDAnimation animationType;
/**
* HUD处于MBProgressHUDModeCustomView模式时,显示此自定义视图(比如一个 UIImageView).
* 最好设置自定义视图宽高为 37x37(这是HUD内建指示器的边框值).
*/
@property (MB_STRONG) UIView *customView;
/**
* HUD代理对象.
*
* @see MBProgressHUDDelegate
*/
@property (MB_WEAK) id<MBProgressHUDDelegate> delegate;
/**
*状态指示器下可选显示的短消息.HUD会自动调整文字的尺寸. 如果文字过长,后面会用"..."代替.
*/
@property (copy) NSString *labelText;
/**
* 可选显示在labelText的细节文字信息.支持多行显示.
*/
MBProgressHUD提示框(进度条)
最新推荐文章于 2016-12-15 20:24:56 发布
博客详细介绍了MBProgressHUD的使用,包括如何展示进度条、设置提示信息以及在不同场景下的应用,帮助开发者在iOS开发中实现优雅的加载提示。
摘要由CSDN通过智能技术生成