Convert iPad application to iPhone- Universal app.
I already have one iPad application, now I want to make a universal app of that iPad application.
How to convert? Is it possible? Or do I have to start a new app?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Open up your project in Interface Builder. Click on the disclosure triangle next to “Targets”, then right-click on the target and choose “Upgrade Current Target for iPad…”.
Then read the iPad Programming Guide, especially the section Starting Your Project.
Edit:
I see now — iPad to iPad/iPhone.
I think you would do something like the following:
Main Window/App Delegate/etc, to
corresspond your existing .xib for
iPad.
NSMainNibFile, with the value of thename of your new iPhone xib
the Base SDK to 4.1 (or 4.0 if you
still have the older SDK installed)
build setting at 3.2 if you’re only
worried about iPhones and iPod
Touches with 4.x.
setting to iPhone/iPad
create two different code paths, one
for iPhone and one for iPad, where
appropriate.