I have a listing of approximately 100 lines. Within each line I create a visual calendar that has up 24 images. These images are tiny. However, I have proved to myself that it is a memory issue and calling didRecieveMemory warning. This view has two tabs on top which allows you to switch between views. They are just a category for each with the same visual setup. When I switch the view, it displays, and then poof the app quits.

I just can't seem to figure out what to do in that memory that will alleviate this problem.
I have tried this:

[veggieImageView release], veggieImageView = nil;
                [veggieTypeView release], veggieTypeView = nil;
                [veggieScrollView release], veggieScrollView = nil;

but it just clears the view and then the same poof the app quits.

I have aggressively tested everything else on this app and I am down to this one unstable area.
Thank you,
James Cicenia


On Mar 9, 2009, at 6:43 PM, Mike Abdullah wrote:

Well it rather depends what you ask UIScrollView to do for you…

The most important thing is to recycle or dispose of views that are no longer visible to the user. Care to explain more what your code is actually doing?

Mike.

On 9 Mar 2009, at 22:27, James Cicenia wrote:

I am trying to get my one screen to work and I feel I am having a memory issue that just causes my application to reboot.

Even though UITableView subclasses UIScrollView I was wondering if it pages memory or such and would be better for my app.

Thanks
James Cicenia

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to