CocoaPods trunk is moving to be read-only. Read more on the blog, there are 10 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Mar 2016 |
Maintained by WelkinXie, WelkinXie.
Simply write one line to use HUD.
pod 'WKProgressHUD' and 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];
+ (void)dismissInView:(UIView *)view animated:(BOOL)animated;
+ (void)dismissAll:(BOOL)animated;
- (void)dismiss:(BOOL)animated;
WKProgressHUD is released under MIT License.
一行代码实现提示消息。
最轻巧,使用最简单的HUD。
pod 'WKProgressHUD'
或下载源码并把"WKProgressHUD"目录拖拽到项目中。
[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.