NSBundle is telling where to look for the file. The bundle is basically all the resources that are included with your app (images, sounds, files, etc).
If there are no typoes I don't know why it wouldn't work. Usually when you get errors like the one you listed it is because you are failing to include a header file or some such...but UIImage is a fairly essential class so it should be covered by the default headers when you start a new project; are you in some kind of custom object with this code or did you mess with the headers?
Last edited by scotopia; 01-12-2009 at 12:29 PM.
|