请求图片时容易出现此错误
UIButton *avatarButton = [UIButton buttonWithType:UIButtonTypeCustom];
[avatarButton setImageWithURL:[NSString stringWithFormat:@"http:xxx.png"]];//错误
[avatarButton setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http:xxx.png"]]];//正确