#WKProgressHUD
Simply write one line to use HUD.
##Usage import "WKProgressHUD.h"
[WKProgressHUD showInView:self.view withText:@"加载中" animated:YES];
[WKProgressHUD showInView:self.view withText:@"" animated:YES];
[WKProgressHUD popMessage:@"网络异常" inView:self.view duration:1.5 animated:YES];
###Dismiss:
+ (void)dismissInView:(UIView *)view animated:(BOOL)animated;
+ (void)dismissAll:(BOOL)animated;
- (void)dismiss:(BOOL)animated;
##License WKProgressHUD is released under MIT License.
--
一行代码实现提示消息。
最轻巧,使用最简单的HUD。
##使用方法 import "WKProgressHUD.h"
[WKProgressHUD showInView:self.view withText:@"加载中" animated:YES];
[WKProgressHUD showInView:self.view withText:@"" animated:YES];
[WKProgressHUD popMessage:@"网络异常" inView:self.view duration:1.5 animated:YES];
###取消显示:
// 取消view中的HUD
+ (void)dismissInView:(UIView *)view animated:(BOOL)animated;
// 取消所有HUD
+ (void)dismissAll:(BOOL)animated;
// 取消显示
- (void)dismiss:(BOOL)animated;
##许可 WKProgressHUD is released under MIT License.