Latest 1.1.2
Homepage https://github.com/yuzhidu/YUProgressHUD
License MIT
Platforms ios 7.0, requires ARC
Authors

提示弹窗的显示和隐藏

使用方法如下:

1.文字提示

+ (void)showTip:(NSString *)tip;
+ (void)showTip:(NSString *)tip inView:(__kindof UIView *)view;

2.菊花提示

+ (void)showActivityIndicatorView;
+ (void)showActivityIndicatorViewInView:(__kindof UIView *)view;

3.隐藏提示

+ (void)hide;
+ (void)hideInView:(__kindof UIView *)view;

4.显示后自动隐藏

默认是3秒之后隐藏,可以在 complete 回调中处理后续逻辑。

+ (void)showTip:(NSString *)tip complete:(HUDHideComplete)complete;
+ (void)showTip:(NSString *)tip inView:(__kindof UIView *)view complete:(HUDHideComplete)complete;

Latest podspec

{
    "name": "YUProgressHUD",
    "version": "1.1.2",
    "summary": "An iOS activity indicator view.",
    "description": "YUProgressHUD is iPad and iPhone compatible. Supports landscape and portrait orientations and can be used inside UINavigationController.",
    "homepage": "https://github.com/yuzhidu/YUProgressHUD",
    "authors": {
        "u9a6cu88d5u535a": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "source": {
        "git": "https://github.com/yuzhidu/YUProgressHUD.git",
        "tag": "1.1.2"
    },
    "source_files": "YUProgressHUD/*.{h,m}"
}

Pin It on Pinterest

Share This