2
This commit is contained in:
@@ -169,10 +169,10 @@ static __weak UIView *sContainerView = nil; // 缺省承载视图(
|
||||
|
||||
+ (void)showSuccess:(NSString *)status {
|
||||
// 简单起见,使用文字模式;如需图标,可替换为自定义勾勾图片
|
||||
[self _showText:status ?: @"成功" icon:nil];
|
||||
[self _showText:status ?: KBLocalized(@"Success") icon:nil];
|
||||
}
|
||||
|
||||
+ (void)showError:(NSString *)status { [self _showText:status ?: @"失败" icon:nil]; }
|
||||
+ (void)showError:(NSString *)status { [self _showText:status ?: KBLocalized(@"Failed") icon:nil]; }
|
||||
|
||||
+ (void)dismiss { [self onMain:^{ [sHUD hideAnimated:YES]; }]; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user