Re: UIScrollView - photo viewer like usage
Re: UIScrollView - photo viewer like usage
- Subject: Re: UIScrollView - photo viewer like usage
- From: David Duncan <email@hidden>
- Date: Wed, 11 Feb 2009 09:50:27 -0800
On Feb 10, 2009, at 9:09 PM, Daryl Thachuk wrote:
Yes it is possible to do this with UIScrollView but only for a small
amount of images. You eventually run out of memory on the device.
The best way accomplish this task would be to use CALayers which
will allow you to unload images when memory gets tight.
Actually you can do that with UIViews or CALayers (and conversely you
can "break" CALayers in the same way). The critical point is to not
use +imageNamed: as this will load the images cached, which generally
is not what you want for large images.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden