I am new to IOS but I have made a small application that uses HJCache to display Images.
All fine, I found a way to Display an Image with HJCache, but I have a big Problem, I cannot unterstand how I display the Image to Show me the result when the Image was loaded.
My Actual Code is:
(I created the HJCache Object objMan - thumbs is a UIImageView *thumb
HJManagedImageV *asyncImage = [[[HJManagedImageV alloc] initWithFrame:CGRectMake(20,20,50,50)] autorelease];
asyncImage.url = [NSURL URLWithString:[thumbs_array objectAtIndex:thisItem]];
[objMan manage:asyncImage];
[objMan performSelectorOnMainThread:@selector(manage:) withObject:asyncImage waitUntilDone:YES];
[thumb setImage:asyncImage.image];
The example Works, it will load the image but show it only after application restart. Does anyone have an idea?