How to disable iPad support? - ios

How to disable iPad support for Xamarin.iOS application?
I have iPhone/iPod selected in my Info.plist:
And here is the source:
However, I am still able to run it on iPad Air simulator and my app got rejected because it didn't work well on iPad (it isn't supposed to, though).
What could be the issue?
Please ask me to add any information needed.

You can't fully disable iPad support because every iPhone app will also compatible with 3.5 Inch or iPhone 4/4S support screen resolution means your app run on iPad with iPhone resolution. So if your app is not supported 3.5 Inch then it will reject by Apple. Check This link https://stackoverflow.com/a/28593581/6655153

Related

iPad app is not utilising the full screen

I have an iPad application on App Store. App is only supported for iPad. App is not a universal App. I am using launch screen storyboard.
App is working fine on 12.5, 10.5 inch iPad devices. But for 11.0 inch iPad device app (iOS 12.1) is not utilising full screen. App is behaving as iPhone app running on iPad without 2x button.
I know this issue comes when you run iPhone app on iPad. But as my app is iPad only. So not getting what causing this issue.
Is anyone faced similar issue? Please let me know how you fixed it.
Thanks in advance.
Note:
1 - iPad only build created on environment Xcode 10.0 and iOS 12.0
2 - Just review https://developer.apple.com/ipad/ Optimizing Your UI Section.
I don't have 11 inch/pro iPad device. So will iPad app build created on Xcode 10.1 resolved this issue?
If you didn't create a view for "that size" then it'll be displayed for the size you created it for. If you created a universal app it would automatically resize itself for the appropriate iOS device. If you create a view for the largest iPad size then it should automatically scale itself down for smaller screens. From the sound of it you created the app for a specific size iPad ignoring the other bit depths available on various models. Even if you want your app for "iPad only" you can do that while still controlling how it scales itself down to say an iPad Air vs iPad Pro.

Can an ios app support just 9.7 inch iPad and not 12.9 iPad Pro device?

I have an iPad app which is supported on iPad (9.7 inches).
I want to update my app on the app store, but now they have added the support for 12.9 inches iPad Pro as well.
And while uploading the app, I got app submission errors which basically was asking for adding the screenshot for 12.9 inches iPad Pro too.
I have not tested my app on iPad Pro yet and I want to update the App first.
So my question is that Can I choose to pick iPad (regular) as my support Device and not iPad Pro (at-least for now)? If yes, then how?
I can see the setting in Xcode to pick between iPhone/iPad/Universal App, but could not find any way to configure iPad Pro as unsupported Device in Xcode or itunesconnect portal.
Yes it is possible - sort of. But it means that you must use launch images and not a launch screen file. Once you are setup to use launch images, simply don't provide launch images for the iPad Pro.
Your app will still run on the iPad Pro but it will be scaled to fit the larger screen. As far as your app is concerned, it will think it is running on any other iPad.
But honestly, this isn't really a good plan. Take a few minutes and run your app on an iPad Pro (or simulator) and see if it works or not. Take the time to make it work. Your users will be much happier.
The answer is NO, as you mentioned yourself that Xcode allows you to pick between iPhone/iPad/Universal App and that true.
Currently, apple does not allow to discontinue app for the specific device, neither from Xcode settings nor iTunes settings.

iOS iPhone app doesnt fill screen on iPad

I have an iOS app which resizes/looks fine between iPhone 4 through to iPhone 6s Plus. However, when I run the same app on any iPad device I get black bars on all sides of my view. I've tried several things to fix it but nothing has works. Here is what it looks like
I checked the following settings:
General>Deployment Info>Devices: iPhone
Autolayout turned on
Size Classes Disabled
No warnings in interface builder
Problem exists on ios 8.0 and 9.0
Works fine in iPhone devices
Xcode 7.2 (started project in Xcode 6.4)
Launch Screen.storyboard exists
I only want it to run on iPhone...
Paragraph 2.10 of App Store Review Guidelines
2.10
iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
iOS iPhone app doesn't fill screen on iPad
That is the definition of an app not targeted for iPad, as explained above in the accurate comments from #NicolasMiari.
On the other hand, if you have a genuine reason to not target iPad, because the hardware does not provide a key capability you need, you can explicitly request for that capability, and your app will not launch (nor be proposed on the App Store when browsed from that device).
Examples include SMS, Telephony, HealthKit. See the Device Compatibility Matrix.

App on appstore has iPad support when iPhone family set?

I have an app on the App Store and I've made sure several times that iPhone is selected in: App > Target > General > Deployment Info > Devices > iPhone
..rather than Universal or iPad.
It appears every time the app is approved it still says iPad supported, how can I disable iPad support completely since the above "solution" doesn't work?
That is normal, iPhone applications can also run on iPad in a iPhone simulator mode.
This is the description of one application of mine only available for iPhone.
Compatibility: Requires iOS 7.0 or later. Compatible with iPhone,
iPad, and iPod touch. This app is optimized for iPhone 5.
This one just for iPad:
Compatibility: Requires iOS 7.0 or later. Compatible with iPad.
and this Universal (both iphone and ipad, no simulator)
Compatibility: Requires iOS 7.0 or later. Compatible with iPhone,
iPad, and iPod touch. This app is optimized for iPhone 5.
It seems the same, but in the reality there is also a + sign with written:
This app is designed for both iPhone and iPad
Making them "Just for iPhone" doesn't let iPads not use them. Imagine this bit of a crisis: on the first iPad's release, how did apps get on the store, since they were designed for iPhone? Developers had some options:
Make an "HD" or "iPad" version. This involved redoing the entire UI so it would fit on the bigger screen.
Do nothing. The iPad's would get the iPhone version of the app, but they would just be, as you can guess, oversized iPhone apps.
After a couple years, there was another option:
Make a "universal" app. This allowed both UI's, both big and small, retina and 1x scale devices, to be "bundled" together in the same Bundle. (heh, bundle pun.) Puns aside, this allowed for apps like "Facebook" to run on iPad, iPhone 3GS, iPhone 4, iPhone 5, iPhone 6, the future iPhone cheeseburger double-decker 7+, and everything else, without having to remake the entire app.
On the iPad, as mentioned by Andrea, it runs in an "iPhone Simulator" mode. This makes the tiny screen be rendered in the tiny screen scale, and, since iPad is over twice the size of the iPhone, it gave the iPad a "2x" button to zoom it in and make the UI bigger.
It's like an app designed for iPhone 4 running on an iPhone 6 Plus.
The iPhone 4 renders stuff at 960x720 landscape or 720x960 portrait, and iPhone 6 Plus's display is much bigger. To accommodate, it letterboxes the content and scales it up automatically.

Is it compulsory for app to support all iPad devices

I developed it only for iPhone but Apple has this rule that iPhone app must support iPad. Therefore, I developed another version that also includes iPad support and design. Is it necessary for app to support all iPad devices.i.e. iPad 2, iPad Air etc? Or only support to one iPad device will work?
It isn't compulsory, you can set your app only for iPhone devices and you can install it in iPad too. The only thing is that the appearance of your app in iPad devices going to be similar than in iPhone devices.

Resources