Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

imageWithContentsOfFile vs. imageNamed: have things changed?

Hello All,

I have read on many threads that the UIImage imageNamed method was not advisable due to memory issues etc and that i was always better to use the imageWithContentsOfFile method to load in images. I am experimenting making a simple game with some images being loaded into UIImageViews and animating them (with the startAnimating call) and I noticed that when I set up all my images with the imageNamed it runs smoothe as butter; but when i use the imageWithcontentsOfFile its choppy as ****.

Has something changed with a new version of the SDK or something that fixed the problems with imageNamed or some such?

Thank you in advance.

Mac OS X (10.5.4)

Posted on Dec 11, 2008 10:35 AM

Reply
5 replies

imageWithContentsOfFile vs. imageNamed: have things changed?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.