Can you make an app have a hires mode for iphone4 and a standard res mode for non iphone4 i.e. 3gs etc
Or will the app need two seperate projects, one for iphone4 and one for iphone 3gs
That is well documented in the XCode docs. Do a search on "Supporting High Resolution Screens" in the XCode help system, or click on that link.
In particular, read the section titled "Updating Your Image Resource Files". You can create double-resolution versions of your images and if you name them as described in the docs, the iPhone 4 (and new hi-res iPod touch) will use the high-res versions automatically.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
That is well documented in the XCode docs. Do a search on "Supporting High Resolution Screens" in the XCode help system, or click on that link.
In particular, read the section titled "Updating Your Image Resource Files". You can create double-resolution versions of your images and if you name them as described in the docs, the iPhone 4 (and new hi-res iPod touch) will use the high-res versions automatically.
Im a Xcode noob, and I am a bit confused about what do. I wrote a simple app a while back, and i need to update it for the iphone 4. I read all the documents pointed out in the previous post, but im still a bit unclear. All of the images are UIImageviews, including backgrounds, and some other images, labels, ect. So all I need to do is make all the images over again in the proper high res size, then name it with the @2x in the file name? All the image views will still be in the right place?
Im a Xcode noob, and I am a bit confused about what do. I wrote a simple app a while back, and i need to update it for the iphone 4. I read all the documents pointed out in the previous post, but im still a bit unclear. All of the images are UIImageviews, including backgrounds, and some other images, labels, ect. So all I need to do is make all the images over again in the proper high res size, then name it with the @2x in the file name? All the image views will still be in the right place?
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
Just wondering...Is it necessary to have the set of lower resolution images? Can we just use the higher resolution images based on the 640x960 and set the images to scale to fill thereby saving the physical weight of the bundled app? What are the pitfalls of this?
Just wondering...Is it necessary to have the set of lower resolution images? Can we just use the higher resolution images based on the 640x960 and set the images to scale to fill thereby saving the physical weight of the bundled app? What are the pitfalls of this?
Sorry nevermind that...it looks pretty crappy when scaled down.