Binary of IPhone in iPad? - iphone

I am new to iPad,I am having iPhone distribution build, can i upload to apple for iPad Device?Will it run? will it be accepted by Apple?otherwise i have to create new Ipad application for existing iphone application?

Practically all iPhone apps will run unmodified on the iPad. They will simply be scaled up pixel-by-pixel (with a little "2x" button so the user can choose scaled/unscaled mode).
For the best user experience, you should create a universal binary that provides customised behaviour for each platform, but this isn't required.

Any iPhone application, an application that has not been optimized for the iPad, will run on the iPad in 'compatibility mode', which means it will get its own iPhone-sized frame in the center of the iPad screen. The user also has the option to zoom in the application 2 times, so it takes up almost the entire iPad screen.
So if you want your app to run at all on the iPad, you don't have to do anything exciting, just submit it to Apple as usual, and iPad users will be able to download and use it.
If you want to optimize your application for the iPad, which is almost always preferred over 'compatibility mode', you can either make your current application into a Universal one, which is an app which contains both iPhone and iPad versions, in one binary, or you can create two different applications, one for the iPhone and one for the iPad. You can find more information on this on the Apple Developer website.

Related

Submit IOS App to App Store rejected because of iPad crash / SwiftUI

Im trying to submit an app to the App Store that I originally planned on only supporting with the Iphone. However, I found out that Apple requires apps to be run on iPad as well. I have clicked iPad in the general deployment info but is it possible for the iPad app to be just a mini version of what is seen on the iPhone. When I run the current code on an iPad simulator, it fills up the full screen and treats it like any other device. I don't want it to do that and just have an iPhone 1x/2x zoom size frame which I've seen other iPhone primary apps do. Is this possible in SwiftUI? Thanks for all your help.
I've also unchecked requires full screen on the App Store.
Simply do not check iPad in general deployment and your app should run as an iPhone app with the x1/x1 zoom option.

Developing iPad / iPhone application in same project or in 2 separate (Monotouch)?

We know that in monotouch we have 2 solution for developing a project for both iPhone and iPads.
First is using Montouch iPad Application projects for iPad, and Monotouch iPhone Application projects for iPhone and create two separate project for each of them.
Another solution is using one Universal Projects for both o them.
The question is: what solution is better and with witch one the result has more quality?
Pros and cons of Universal app.
Pros:
One place to fix bugs in app's business logic;
Convenient to users (after install on one device it could be automatically installed on other device);
Marketing costs could be half as much;
Cons:
It could be too many if -blocks, which are checks for UIDevice.CurrentDevice.UserInterfaceIdiom;
Bigger app size;
Some of the features (mostly in games) do not fit well on iPhone's display.
If you used XIB-based interfaces, you must make separated XIB for iPad OR update XIB content layout in UIViewController's ViewWillAppear event (in which iOS updates View frame according to display size);
If your app is not free, you couldn't release "HD version" with bigger price.
Basically, universal app is better for users, but harder for developers and designers.
I think, you are asking about iPhone and iPad. Because, universal app includes iPhone and iPad (not iPhone and iPod).
So considering this:
You should go with Universal app because of below reason:
1) There will be one source file of the app which will work in both iPhone and iPad.
2) If user has both devices (iPhone and iPad), then they get a single copy of the app and can install in both devices.
3) Your app supports both devices, so users will be highly attract and download your app quickly.
4) If your app will more downloaded (because of Universal app) then there are chances that, your app comes into "New and WhatWorthy" section and even "Feature" section of the apple.
There can be main reason why we should go for Universal app instead of separate app for iPhone and iPad.
Hope, you got an idea.
Cheers!

Force universal app to run iPhone version on iPad

I've had an iPhone product on iTunes for a while and have superseded it with a universal app which has been met with approval except from one customer who wants to run the iPhone version on his iPad as he preferred the larger inputs and working of the iPhone.
Is there any way to configure the app to run either as native iPad app or iPhone app on iPad at runtime? Seems an odd request but customer is quite insistant.
Thanks
/Fitto.
No way to do that, except making separates versions for iPhone and iPad.
Theoretically, you could have some setting that would load the iPhone storyboard on the iPad, but it would still display full screen, and not in compatibility mode, which is probably the way this particular user wants it
Assuming you are running some sort of source control, you could change the project to be "iPhone Only" and then test on the iPad, then later revert the changes made to make it a Universal app again

How to refactor an iPhone App to run natively on the iPad

I have an iPhone application and I want to run it on the iPad in normal mode (not in the mini small emulation mode)
How do I compile my program to show up in full screen mode?
Any easy tutorial?
You want to refactor you current iPhone only app in to a Universal app.
iPhone SDK 3.2 [and later] supports the
development of Universal applications.
A Universal app is optimized to run on
all iPhone OS devices—itʼs essentially
an iPhone app and an iPad app built as
a single binary.
More details can be found in the Introducing Universal Applications for iPhone OS documentation.
In order to achieve your design goals
for a Universal application, you will
need to use conditional coding to
determine the availability of features
when your app is running. Conditional
coding allows you to make sure youʼre
loading the right resources, using
functionality thatʼs supported by the
device and properly leveraging
hardware thatʼs available.
In Xcode 4 you can set the device type, be sure to create iPad specific UI for you app.
Once you select Universal xcode will try and help you out by creating some interface-bilder files.
The iPhone views are created with the size 480×320px in case of pre-iphone 4, and the iphone 4 has 960x480px. The iPad has 1024x768, so you need to change the views for that size. There's no automatic way of doing it. In Xcode 4 you have some sort of "change this view to ipad", but the position of the elements in the view, but you will have to do some tunning on the final views, because the ipad UI of an App should give a different UX than the iPhone.

Adding an iPhone app binary to my current ipad app

I gave an app in the app store got ipad. I also made a app for the iPhone now.
What you guys suggest should I create a new app for the iPhone or is there way to add my iPhone binary to my current ipad app?
Thanks for your help.
There is no way to include the iPad and iPhone binary together. If you want to put them together, you'll need to create a universal application. You will have checks at run time that will determine whether or not your app is running on an iPad or iPhone, this will determine which set of ViewControllers your app will display.
There is a lot of information out there on creating universal apps.