File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -140,29 +140,32 @@ + (void)showWithStatus: (NSString *)string maskType: (WSProgressHUDMaskType)mask
140140
141141+ (void )showSuccessWithStatus : (NSString *)string
142142{
143+ [[self shareInstance ] addOverlayViewToWindow ];
143144 [self showImage: WSProgressHUDSuccessImage status: string];
144145}
145146
146147+ (void )showErrorWithStatus : (NSString *)string
147148{
149+ [[self shareInstance ] addOverlayViewToWindow ];
148150 [self showImage: WSProgressHUDErrorImage status: string];
149151}
150152
151153
152154+ (void )showImage : (UIImage *)image status : (NSString *)title
153155{
156+ [[self shareInstance ] addOverlayViewToWindow ];
154157 [self showImage: image status: title maskType: WSProgressHUDMaskTypeDefault];
155158}
156159
157160+ (void )showImage : (UIImage *)image status : (NSString *)title maskType : (WSProgressHUDMaskType)maskType
158161{
162+ [[self shareInstance ] addOverlayViewToWindow ];
159163 [self showImage: image status: title maskType: maskType maskWithout: WSProgressHUDMaskWithoutDefault];
160164}
161165
162166
163167+ (void )showImage : (UIImage *)image status : (NSString *)title maskType : (WSProgressHUDMaskType)maskType maskWithout : (WSProgressHUDMaskWithoutType)withoutType
164168{
165- [[self shareInstance ] addOverlayViewToWindow ];
166169 [[self shareInstance ] showImage: image status: title maskType: maskType maskWithout: withoutType];
167170}
168171
You can’t perform that action at this time.
0 commit comments