Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 01-09-2012, 01:01 AM   #1 (permalink)
Preetha Ajayan
 
Join Date: Jan 2012
Location: Cochin
Posts: 23
Preetha K V is on a distinguished road
Send a message via Yahoo to Preetha K V
Default 2x images works with 3GS?

Hi,

I had only 2x images in my app. It works fine with iphone 4. I don't have 3Gs phones. Is this 2x images works with 3Gs phones?
Preetha K V is offline   Reply With Quote
Old 01-09-2012, 01:16 AM   #2 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,565
Domele is on a distinguished road
Default

Only if you specify the file name with the @2x.
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.

New app - See screenshots and details at www.globaclock.com.

If you want to thank me, click the link. Every click counts. If you want to do more, buy my app. A link is available on my website. Thanks.
Domele is offline   Reply With Quote
Old 01-09-2012, 01:29 AM   #3 (permalink)
Preetha Ajayan
 
Join Date: Jan 2012
Location: Cochin
Posts: 23
Preetha K V is on a distinguished road
Send a message via Yahoo to Preetha K V
Default

Quote:
Originally Posted by Domele View Post
Only if you specify the file name with the @2x.
Thanks for your reply.

Ya, I specified only 2X images with @2x file name and load the images in like

[UIImage imageNamed@"welcome"];

Then it will work both iphone 4 and 3Gs, right?
Preetha K V is offline   Reply With Quote
Old 01-09-2012, 01:40 AM   #4 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,565
Domele is on a distinguished road
Default

To clarify, do you have 2 sets of images? Like do you have welcome.png and welcome@2x.png? Or just welcome@2x.png? If you just have the @2x version, you'll need add the @2x with imageNamed and make sure to scale your image views down in non retina displays.

Also, you know you can test in the simulator right?
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.

New app - See screenshots and details at www.globaclock.com.

If you want to thank me, click the link. Every click counts. If you want to do more, buy my app. A link is available on my website. Thanks.
Domele is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 401
14 members and 387 guests
bignoggins, BSH, djqbert, Duncan C, epaga, flamingliquid, jbro, jcdevelopments, leighec68, markolo, nobstudio, revg, Rudy, taylor202
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:05 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0