본문 바로가기

iPhone

UIImageView URL로 로드하기

UIImageView *tempImageView = [[UIImageView alloc] initWithImage:[UIImage imageWithData:
[NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://www.abc.com/image.png"]]]];

'iPhone' 카테고리의 다른 글