An simple and easy to use cover statusbar HUD
#Installation
##Manual import:
- Add the
XAStatusBarHUD
folder to your Xcode project. - Import the header file:#import
"XAStatusBarHUD.h"
##ShowInfoMessage
[XAStatusBarHUD showInfoWithTitle:@"Normal" image:nil];
##ShowLoadingMessage
- HUD Keep always show
[XAStatusBarHUD showLoadingWithTitle:@"Loading" image:nil];
##CustomHUD
- setupHUD
[XAStatusBarHUD setFont:[UIFont boldSystemFontOfSize:14]];
[XAStatusBarHUD setTitleColor:[UIColor whiteColor]];
[XAStatusBarHUD setBackgroundColor:[UIColor grayColor]];
[XAStatusBarHUD setStayTimer:2];
- custormMessage
//自定义控件
UILabel *label = [[UILabel alloc]init];
label.text = @"hello,CustomView!";
label.font =[UIFont systemFontOfSize:14];
label.textColor =[UIColor redColor];
[XAStatusBarHUD showCustomWithTitle:@"Custom" image:[UIImage imageNamed:@"check_1139091_easyicon.net"] loading:NO customView:label];