首页 > 代码库 > SVStatusHUDDemo

SVStatusHUDDemo

 

工程图:

注意加入第三方库SVStatusHUD.

代码如下:

//点击任何处出现提示-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{    [self showWithImageStatus];}- (void)showWithImage {    [SVStatusHUD showWithImage:[UIImage imageNamed:@"sync"]];}- (void)showWithImageStatus {    [SVStatusHUD showWithImage:[UIImage imageNamed:@"wifi"] status:@"Connected"];}

 

源代码地址:http://url.cn/TIjvsJ

SVStatusHUDDemo