Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-21-2010, 03:15 PM   #1 (permalink)
Registered Member
 
twerner's Avatar
 
Join Date: Nov 2009
Location: planet
Posts: 279
Default uitableview+uiview+many images iphone crashes with signal 0

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 ....
twerner is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 287
20 members and 267 guests
14DEV, ADY, Bertrand21, Dani77, HemiMG, iDifferent, IphoneSdk, jakerocheleau, JasonR, jimbo, macquitzon216, MACralik, NSeven, prchn4christ, Rudy, silverwiz, spiderguy84, Sunny46
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,767
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:59 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0