내 애플 표시 사진 피드를 시작하는 동안 이미지가 완전히 다운로드하기 전에 설정합니다. 내 문제는 완전히 다운로드하기 전에 응용 프로그램이 빈 (세포) 이미지 속성을 보여주고있다. 내가보기를 아래로 스크롤하고 다시 (세포의 일부가 보이지 않게 한 후 스크롤하여 볼 수 있도록) 스크롤아이폰 OS. 빈 이미지는 인스 타 그램처럼 시작에 응용 프로그램
후 셀 이미지가 나타납니다! 세포를 설정하기위한
방법은 다음과 같이 있습니다 ..
- (AQGridViewCell *)gridView: (AQGridView *)aGridView cellForItemAtIndex: (NSUInteger)index {
static NSString *PlainCellIdentifier = @"PlainCellIdentifier";
GridViewCell *cell = (GridViewCell *)[aGridView dequeueReusableCellWithIdentifier:@"PlainCellIdentifier"];
if (cell == nil) {
cell = [[GridViewCell alloc] initWithFrame: CGRectMake(0, 0, 74, 74)
reuseIdentifier: PlainCellIdentifier];
}
[cell.captionLabel setText:text];
[cell.imageView setImage:image];
return cell;
}
나는을 위해 할 수있는 일 [setImage :] 이미지를 완료하거나 다운로드 이미지를 보여주는, 또는 자동으로 다시로드하는 방법은 기다리는?
나를 위해, 당신을 위해 http://developer.apple.com/library/ios/#samplecode/LazyTableImages/Introduction/Intro.html –