hi
i have a uitableview with uisearch pointing to a new sub view which hold
a text label and uimageview !
The app has stored 70 high resolution images (around 1000 x800 dpi) and between 100 and 300 kb each in its resource folder.
In xcode with the iphone simulator the app runs smooth an fine but in realty check an a hardware iphone the app crashes after displaying several different images (after 20 around) and it crashes the most time when, the image, which was displayed has a very high resolution an much kb !
The app crashes with iphone plugged with signal"0" at the log...
here is the code i use to display the image in the image view:
[myScrollView setDelegate:self];
[myScrollView setBouncesZoom:YES];
[[self view] addSubview:myScrollView];
TapDetectingImageView *imageView = [[TapDetectingImageView alloc] initWithImage:[UIImage imageNamed:myStringPrt1]];
[imageView setDelegate:self];
[imageView setTag:ZOOM_VIEW_TAG];
//[myScrollView setContentSize:CGSizeMake(100.0, 100.0)];
[myScrollView setContentSize:[imageView frame].size];
[myScrollView setClipsToBounds:YES];
[myScrollView addSubview:imageView];
[imageView release];
float minimumScale = [myScrollView frame].size.width / [imageView frame].size.width;
[myScrollView setMinimumZoomScale:minimumScale];
[myScrollView setZoomScale:minimumScale];
please help , I'm baffled ....