Build app for iphone but not for ipad (Sencha Touch) - iphone

I need build my app on Iphone and Ipad, but I want to keep Iphone's resolution, I mean.. I want to see my app on ipad like 1x / 2x
like this:
http://blog.m4n.nl/wp-content/uploads/m4n_on_ipad-787x1024.jpg
Help me please :)
Thank You

If you change 'Devices' in project settings to 'iPhone' instead of 'universal', it should work as u want to.

So what the big issue?? Just choose Devices to iPhone and create your project. Start coding and just run it on iPad. You could see that Xcode did the same that you want.

Related

Convert iPhone project to iPad project?

I'm just starting out with iOS development and I'm actually trying to make an iPad application. I've found a sample project that is perfect for me to start from but it's meant as an iPhone app.
So I was wondering, maybe it's just a matter of replacing some xml file to convert it into an iPad app?
Any ideas if it can be done, and how?
If you are using Xcode 4, select the application target and change the value of Devices in the Summary tab to iPad.
You should also modify the appropriate xib files made for iPhone. You may also have to change any code that works only for the iPhone like specifying frames with fixes values that fit the iPhone screen size, but are too small for the iPad screen size.

Making Iphone App Working on iPad

I have created an iPhone Application, which works only on iPhone.
Now, I want that App on iPad, too.
Is there any way that I can reuse my existing iPhone XIBs to support that App on iPad. (I don't want to recreate all the XIBs for iPad separately.)
Any guidance for that?
Also, What other points I need to take care of?
Your iPhone app will work in iPad if you choose 2x zoom view. But the display will not be of the highest quality. Now rumors are there that next iPad will have retina display. So, one suggestion I can give is, when you create a new project, Choose "Universal" as the option for device family.
Depending on your app, Feature detection might be one thing you have to look out for when you try to run an app on iPad. For example, Siri is available for iPhone 4s, but not iPad 2. (Although the API for Siri isn't out yet, I'm just putting it there). Also, iPhone 4 has camera, while iPad 1 doesn't have.
Click on your target, and under "Devices" change to Universal. Now your project should run on either device.

Change app to only iPhone deployment

Im using Xcode 4.1 lion release. My app was rejected because it only works on the iPhone, this is how it should be, but i guess i didnt set my app up so it only works on the iPhone. How would i do so?
I go to Targeted Device Family under my project build settings and i have iPhone selected.
`
What else do i need to do. Thanks
EDIT: During the app review it was still set up under device family as iPhone
Remove and iPad xib files that were created initially. By default Xcode makes an iPad folder when you select the universal build, remove that and you should be good. Other considerations might be to remove iPad launch images if they are present, or any iPad specific code like popover view controllers etc.

add iPhone functionality to iPad app

I have been developing an iPad app. I now want to make it work on the iPhone also. What do I do in Xcode so it can work both ways?
(I am not concerned about adapting to the smaller screen -- that part I can figure out. But how do I get it to start up on the iPhone?)
In the project's build properties, change the target from "iPad" to "iPhone/iPad". Make sure you continue to target iOS 3.2, however, so that you don't break iPad support, and test on both platforms.

Cocos2d on iPad at native res and not inside box

So I can't seem to get my cocos2D app to run at native resolution on the iPad. All it does it run in the little box as if it's an iphone application. I have the latest version of cocos2D inside my app and used the templates to create the project.
Any ideas?
Cheers
you may wanna take a look in this ,http://www.raywenderlich.com/1111/how-to-port-an-iphone-application-to-the-ipad.
Try setting the "Targeted Device Family" in the build settings for your project to "iPad Family."