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

时间: 2024-11-09 06:28:26

SVStatusHUDDemo的相关文章