#import <UIKit/UIView.h>
@class UIImageView, UIProgressIndicator, UITextLabel, UIWindow;
@interface UIProgressHUD : UIView
{
UIProgressIndicator *_progressIndicator;
UITextLabel *_progressMessage;
UIImageView *_doneView;
UIWindow *_parentWindow;
struct {
unsigned int isShowing:1;
unsigned int fixedFrame:1;
unsigned int reserved:30;
} _progressHUDFlags;
}
- (id)_progressIndicator;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setText:(id)fp8;
- (void)setFontSize:(int)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)layoutSubviews;
- (void)showInView:(id)fp8;
- (void)hide;
- (void)done;
- (void)dealloc;
@end
本文介绍了一个用于iOS应用中的进度提示框组件UIProgressHUD。该组件包含进度指示器、进度消息标签、完成视图等元素,并提供了一系列方法如显示、隐藏、设置文本等,以实现丰富的用户交互体验。
157

被折叠的 条评论
为什么被折叠?



