Load Image from External URL
Load Image from Project Itself
NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://someimageurl/imagename.jpg"]];
UIImage *image = [[UIImage alloc] initWithData:data];
UIImage *image = [UIImage imageNamed:@"Disp1.jpg"];
No comments:
Post a Comment