objective c - IPhone App Crashes on Device -


i have simple app (this first one) loads image resources folder, change image (with image name changing):

myuiimageview.image = [uiimage imagenamed:@"nextimage.jpg"];  

it runs on app can change image infinite number of times. when run on ipod touch, crashes after image changes 4 times. need release image when change it? seems memory issue,

i should mention each image 200kb.

the console reads when crashes:

program received signal:  “0”. data formatters temporarily unavailable, re-try after 'continue'. (unknown error loading shared library "/developer/usr/lib/libxcodedebuggersupport.dylib") 

any advice help, thanks!

when runs well, mean runs on simulator?

i've found not check memory problems on simulator: tends way powerful compared actual device. crash may not on image swapping code @ all.

i recommend go on code , check leaks. monitor using instruments->leaks while running on device, not on simulator.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -