请求网络图片 UIButton * btn = [[UIButton alloc]init]; [btn setImageWithURL:[NSString stringWithFormat:@"http:xxx.png"]]; 此时出现的问题是:-[_NSString absoluteURL] [btn setImageWithURL:[USURL URLWithString:[NSString stringWIthFormat:@"hhtp:xxx.png"]]];