YHMBProgressHUD 1.1

YHMBProgressHUD 1.1

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布时间最后发布2017年5月

yuhuanwater维护。



  • 作者
  • yuhuanwater

基于 MBProgrssHUD 再次封装

btSimpleRippleButton Screenshot . btSimpleRippleButton Screenshot . btSimpleRippleButton Screenshot

使用说明

   //设置hud成功
    [UIView setHUDSuccThemeColor:[UIColor colorWithRed:39.0/255.0 green:198.0/255.0 blue:144.0/255.0 alpha:1]];
    //设置hud失败
    [UIView setHUDErrorThemeColor:[UIColor colorWithRed:198.0/255.0 green:91.0/255.0 blue:72.0/255.0 alpha:1]];
    //设置hud加载
    [UIView setLoadCustomView:[self loadView]];

自定义加载

    -(HUDCustomView *)loadView{
    HUDCustomView *loadView=[[HUDCustomView alloc]initWithFrame:CGRectMake(0, 0, 120, 80)];
    loadView.backgroundColor=[UIColor clearColor];
    UILabel *label=[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 120, 80)];
    label.text=@"加载中……";
    label.textColor=[UIColor whiteColor];
    label.textAlignment=NSTextAlignmentCenter;
    [loadView addSubview:label];
    return loadView;
}