Create iPhone app now with plans to support iPad later - ios

I would like to create an iPhone app for now and get it released with plans to make an iPad app later. I don't want to charge people twice to get both versions. Do I create a universal app now and delete the iPad storyboard or do I create an iPhone app now and add an iPad storyboard later(if that is even possible)?

If you make it a universal app, then it will be available for both iPhone and iPad. So you should definitely not publish a universal app now it you want to support the iPad only later.
Later, it is easy to change the type of the app to universal, and make the appropriate changes in your code to add support for the iPad.

Related

Change Devices parameter of iOS project programmatically

I have to make my app run on iPad in iPhone mode(legacy zoomable mode).
I can do it with changing Devices option in Xcode project settings, But i released my app in app store in universal device mode so apple says you can't remove this feature in newer version of your app!
Is there any way to do it programmatically? for example can i set Devices option to iPhone in code at runtime? or can i fake it?(made app run like iPhone app in zoomable mode in iPad)
There is no possible way to change an iPad app to iPhone-only at runtime. It would be possible to display your view controllers on an iPad in such a way that they appear the size of an iPhone. But Apple would reject your app for bad user experience.
Once you release an app as Universal, Apple will not let you change the app to iPhone-only. And why would you want to do that? Why would you deliberately want to hurt your customers using iPads?
Your only solution would be to release a brand new app (different bundle id) that is iPhone-only. But then this is bad for all of your existing users (iPhone and iPad).
The proper solution is to embrace your Universal app and properly support iPads.

How to restrict an application to download only in iphone and not in IPad

I have an only iPhone application I don't want to use this application install on iPad because some UI doesn't look good on iPad!
I can select "iPhone" in General-->Deployment Info-->Device
My app install on iPad like mode iPhone 1x size I want to restrict this installation.
Does anyone know to how to restrict app on iPad installation?
You can simply change Development Devices from Project's general target page.
from Xcode 11 Beta
from Xcode 10.3
You can restrict the application by programmatically from app delegate method.
You just check the for current device type.
Than navigate to another screen which is design out of the current storyboard just one screen to tell to user why they are not able to use your application.
NOTE : You have to mention all details in Appstore description to save your application rejection chances.

IPhone app is not compatible with IPad

I have submitted my app to Apple store, It was rejected for some reasons. One of the reasons that my app must be tested and compatible on iPad. Do I need to make my app to be Universal? The 1st version was submitted without any problem and it was not a Universal.
My question is: What do I need to make my app compatible on both iPhone and IPad?
Thanks
No, your app doesn't need to be universal. But it should run on the iPad without modification.
I'm wondering if you're bumping up against the Launch xib bug? If you're using a Launch xib (new in iOS 8) instead of Launch Images, the system will mistakingly treat it like a Universal app.
Otherwise, get an iPad and run your app on it so that you can see what the problem is.

Invoke iPad application from iPhone app

I developed one iPhone application that runs in iPad in 1x/2x mode. In the same application i have a module that is designed specific to iPAD.
How should i invoke these iPAD screens?
Thanks
Sudha
You can't have half an iPhone app and half an iPad app, even if you could that would be terrible for the users and you shouldn't! storyboards enable you to have 2 files, one for iPhone and one for iPad and you can simply load whichever is applicable.
Xcode even handles this for you by allowing you to specify which is which in the project settings.
There is no way to switch between the 1x/2x as you have mentioned. The app is either set to run in this mode on iPad (because its an iPhone app), or its not because its universal and supports both, or is iPad only

Is ipad version required to publish on apple store?

I am new to iOS development and the response to this question may seem obvious for some experimented developers. If I create an application that targets iPhone, do I really need to include views also for iPad before submitting the applicatio to Apple Store?
No, you can target only the iPhone if you want. Or you can target specifically the iPad. Finally you can create a Universal app that targets both.
It's your choice. You define what you're targeting in your project.
AFAIK You need to submit the screenshots for iPad as well even you are submitting app for the iPhone. I am talking about the itunesconnect while you are submitting. I have experienced this myself when submitted app for iPhone only and was mandatory to add iPad screenshots.
Specifically to Targets or Views in your xcode. NO you don't need to add any extra view, only the views for your target. In case of keeping app universal you could add views for iPhone and iPad.
For taking different screenshots, you don't need to add different views but instead you can use simulator to take all variants of screenshots.
I recently tried to submit a app to iTunes with screenshots for iPad and the binary was only for iPhone.
This is what they informed me.
Your binary doesn’t support iPad. The screenshots or app video preview
for iPad won’t be shown on the App Store
If you target your app to be Universal you will need both, and if you only select a device, iphone example you don't need for ipad.
For universal you need to submit both otherwise the one you set target will be enough

Resources