Convert Universal app to iPad app - ios

How exactly would I convert a universal app from working on both the iPhone and iPad to just the iPad. If I submit it right now, it will appear as an universal app on the App Store, so how do I trick it into thinking this is just an iPad app, without creating a whole new project? I know that this is a weird question, but does anyone know? Thanks for your help!

You have to change the -targeted-device-family build setting.

Related

Apple Rejection App: We also noticed that your app did not run at iPhone resolution when reviewed on iPad running iOS 10.2.1 [duplicate]

I made an iPhone App with Xcode. The devices setting is set to "iPhone". But in iTunes Connect it is rejected because it doesn't run on the iPad.
That is weird because it is an iPhone app, but when I checked it in Xcode, I can run it with the iPad simulator,however I think that normally this is not possible with an iPhone app.
I have added pictures to make my question clearer:
So what is gone wrong and how can I fix it?
EDIT:
Picture from resolution center:
Thanks all, I Found the problem/solution:
In my info.plist there was an extra row called supported interface orientations(iPad) where the portrait mode was added.
I have no idea how this got added here but when I removed it, the problem was solved.
From the Apple iOS App Store Review Guidelines (https://developer.apple.com/app-store/review/guidelines/):
2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
Basically, if you set an app to "Universal" it will have iPad and iPhone versions of the UI and will appear in the search results for both. If you set it to iPhone only, it will still be installable on iPads, but it doesn't appear in the search results by default. Additionally when a user does install it on an iPad it will just scale up the UI to best fit the screen. You cannot prevent your app from running on iPads.
Every app can run on the iPad no matter if it is supported or not. The option you have in Xcode is if you want to configure it to look good on the iPad using it's own storyboard. If you configure it for both iPad and iPhone your app fill get a + in the right corner of the price on the App Store and show up on iPad searches. However if you don't configure it to support iPads it'll not show up on searches of the Apple App Store, unless osmose selects iPhone only. You can easily submit your app to the App Store, without it being rejected my friend.
Hope that helps. Keep coding.
Nothing is wrong here , you can do this in debug mode for development purpose. Even you can run it on your iPad device from xCode. Don't worry about it, nothing wrong here.

My app on iPad can't read photo after iOS9.3

My app only support iPhone device, it can run correctly under iOS9.2 on both iphone and iPad. But after updating to iOS9.3 and iOS9.3.1, my app on iPad can't read user's image. (Both ALAsset and PhAsset have the same problem. )
The image will return nil, and I ensure it's a bug, because it can read image correctly, when I change my support device to universal in Xcode.
Is it a bug for iOS? Or it becomes the rule? All app need to support universal ??
What's the fastest way to make myapp support iPad? I just want to use the scaling like the way iPhone app run on iPad.
I have also faced same kind of problem two days ago, I think you need to update your xcode. Update your xcode to the latest version 7.3
It worked in my case.
I met exactly the same problem and I fixed it.
I can't find any quick solution, and I decide to make my app into support universal.
This means support both iPad and iPhone.
The main efforts are the resolution issues. iPhone is 16:9(320x568 for logical resolution) and iPad is 4:3(768x1024 for logical resolution).
To speed up the modification and no change for my art images, so I put my content int the middle on 4:3 screen.
One good thing to support iPad, users can easily search on app store when he use iPad.

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.

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

Convert iPad application to iPhone application?

I have written a tab based iPad application which has done well. I never intended for it to be an iPhone application because the content it displays really doesnt lend itself to such a small screen.
However, I have been getting a lot of requestes for the application to be compatible with iPhones as well.
Can someone point me in the direction of some documentation that may help me figure out how to convert my app.
I presume it's not so simple as having aanother set of XIB files for iPhone and just have it display them if the app is running on a phone...
I recently found this blog post on the topic. You might find it helpful:
http://www.raywenderlich.com/1111/how-to-port-an-iphone-application-to-the-ipad
Plus there's some discussion of creating a universal app here:
iPhone & iPad versions of same app?
iPad Programming Guide: Creating a Universal Application

Resources