url in imageView

NSString *str1=@"http://google.com";
NSString *str2=imageStr;
NSString *str3=[str1 stringByAppendingString:str2];

str3=[[str3 componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"~"]]componentsJoinedByString:@""];

_imageV.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:str3]]];
Previous
Next Post »