I’m using an NSMUtableArray to store some objects I created. but when I write [myArray objectAtIndex:i] where i is a valid index for that particvular array one of two thing happens: if I’m using the simulator to run the app everything works ok…If I run the app on my Iphone the app crashes…any clues why is it crashing?
Share
Likely it is a memory management issue. Are you abiding by rules set out in the Memory Management Programming Guide? Try:
You have not given us anywhere near enough information for us to give you a reliable, straightforward answer.