SVStatusHUDDemo
时间:2014-10-27 17:30:22
收藏:0
阅读:140
工程图:
注意加入第三方库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
评论(0)