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 > Mac OS X Development Forums > Objective-C, Python, Ruby Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2010, 06:38 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 39
yaniv92648 is on a distinguished road
Default an app for both iPhone and iPad

Hi,
is it possible to do an app for both iPhone and iPad such that the app will feat itself into the resolution of the iPhone (when an iPhone loads it) and into the resolution of the iPad (when the iPad loads it)?
Thanks.

Last edited by yaniv92648; 06-10-2010 at 06:49 AM.
yaniv92648 is offline   Reply With Quote
Old 06-12-2010, 04:56 AM   #2 (permalink)
Registered Member
 
ChrisMayer's Avatar
 
Join Date: Aug 2009
Posts: 238
ChrisMayer is on a distinguished road
Default

Quote:
Originally Posted by yaniv92648 View Post
Hi,
is it possible to do an app for both iPhone and iPad such that the app will feat itself into the resolution of the iPhone (when an iPhone loads it) and into the resolution of the iPad (when the iPad loads it)?
Thanks.
Yes, that's known as a Universal App and its fairly easy to do, it essentially involves 2 sets of .XIB files, and in most cases a minimal amount of additional code.
__________________
ChrisMayer is offline   Reply With Quote
Old 05-03-2011, 07:32 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2011
Location: Hawaii
Posts: 30
ElsieK is on a distinguished road
Default

Quote:
Originally Posted by ChrisMayer View Post
Yes, that's known as a Universal App and its fairly easy to do, it essentially involves 2 sets of .XIB files, and in most cases a minimal amount of additional code.
I would like to add that it is much appreciated as well. As someone who has both an iPhone and an iPad, I prefer apps that are universal. I like to be able to use apps on either device depending on my mood. Plus, it is very annoying to have to have two different apps for two different devices.
ElsieK is offline   Reply With Quote
Old 05-19-2011, 04:02 AM   #4 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 2
angelann_182000 is on a distinguished road
Default

Quote:
Originally Posted by yaniv92648 View Post
Hi,
is it possible to do an app for both iPhone and iPad such that the app will feat itself into the resolution of the iPhone (when an iPhone loads it) and into the resolution of the iPad (when the iPad loads it)?
Thanks.
Yes. If your using .xib files you can just select in the options "targeted for Ipad", for your Ipad view.
angelann_182000 is offline   Reply With Quote
Old 05-19-2011, 04:08 AM   #5 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 39
yaniv92648 is on a distinguished road
Default At the time i was...

now i no longer use xib files at all and i bless the moment i stopped..
xib files take control from over my application and that creates problem. i prefer that my code and only my code will control the application. over time it makes your life a whole lot easier, and it doesn't bound you from doing stuff.
using IB bounds you and forces you to bypass...

Last edited by yaniv92648; 05-19-2011 at 04:22 AM.
yaniv92648 is offline   Reply With Quote
Old 05-19-2011, 04:15 AM   #6 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 2
angelann_182000 is on a distinguished road
Default long time ago

wow, your post was last 2 years ago' hm.. yeah aside from doing everything from code, you'll learn and know more. anyways, I think people here are not so active anymore?
angelann_182000 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: 466
14 members and 452 guests
7twenty7, AlanFloyd, David-T, imac74, Jaxen66, logan, lovoyl, Music Man, mutantskin, Sami Gh, SLIC, solardrift, unicornleo, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,683
Threads: 94,131
Posts: 402,932
Top Poster: BrianSlick (7,990)
Welcome to our newest member, unicornleo
Powered by vBadvanced CMPS v3.1.0

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