[ myImageView setimageWithURL:[NSURL URLWithString:[Nsstring stringWithFormat:@"%@",@"url"]] placeholderImage:[UIImage imageNamed:PROFILE_HOLDER_IMAGE]];
有没有办法避免它
干杯
试试这个新语法,
[myImageView sd_setimageWithURL:[NSURL URLWithString:[Nsstring stringWithFormat:@"%@",@"url"]] placeholderImage:[UIImage imageNamed:PROFILE_HOLDER_IMAGE]];