Screen Size Adaptation | XCode | Swift | iOS - ios

I have been rejected by apple because they want my app to run at full resolution of the device's screen I am running my app on. For Example, I have developed my app for iPhone but it runs in a corner on an iPad.
So, They want to run it on iPad at full screen resolution as it runs on an iPad. Please help me fix this issue, I am in a fix after hearing this issue, Thanks for any help!

If you want the iPad app to be exactly as iPhone app... Just set your app in project settings to support only iPhone, it will then fit on iPad automatically. (All iPhone apps are supported automatically on iPad in special compatibility mode)

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.

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.

2.10 - iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution, my app should only run on iPhone

I submitted an app and it got rejected because of that Error. It is an iPhone App only, why should it be able to run on an iPad?
2.10 Details
We noticed that your app did not run at iPhone resolution when reviewed on iPad running iOS 8.4.1, which is a violation of the App Store Review Guidelines.
Is it not possible to make an App only for iPhone and not for iPad aswell?
You can develop an iPhone-only app and it can get approved. However, iPad devices can download iPhone-only apps and use them. They run at iPhone size with lots of black space around the display. Users have the option of tapping a button in the corner to double the size so that it fills more of the screen.
I assume that they ran your iPhone-only app on an iPad and encountered errors. It doesn't have to have an iPad layout, but it should be able to run on an iPad. When they first released the iPad, most (all?) apps worked without modification in this mode on iPad.
Here is an example of what another app looks like running on an iPad: image.

2.10 - iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution

my app was rejected the other day, and I got this rejection message:
2.10 Details
We noticed that your app did not run at iPhone resolution when reviewed on iPad running iOS 8.3, which is a violation of the App
Store Review Guidelines. We’ve attached screenshot(s) for your
reference.
Next Steps
Please revise your app to ensure it runs at iPhone resolution on iPad.
They also provided me with a screenshot, which I don't understand. I have tested the app on iPad and it seems to run perfectly. This is the screenshot I got:
I just can't seem to understand what is wrong on it. What do I have to change?
Thanks a lot
If you have developed an app specific for iPhone devices only, then whenever you run it on iPad for testing, its size should be smaller than the iPad's screen size. Also you should get a 2X button at upper right/left corner(not sure exact corner) to increase the size.
I have found this from a website,I hope it will help you

Titanium - How to make an iphone-only app run nicely in iPad's compatibility mode?

so today my app was rejected in the app store because of this:
Reasons
2.10: iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
Considerations:- This app is an iphone-only, meaning that is the only target that I chose in the tiapp.xml.- This app was already accepted once in the appstore, this is an update.- In my code sometimes I use px for imagens and sometimes DP, but I've tried switching all to DP in this screen and had even worse results.
As far as I can see, there are no errors associated with it (that means the app does NOT crash when you run it in iPad simulator) therefore I'm assuming they rejected it because of a layout problem.
Since this is an iphone-only app, iPad should run the app in compatibility mode, meaning that it might scale it up, but respecting the original sizes.
This is a pic of the app running in a retina simulator (with no problems):
And here's a picture of the app running in a retina iPad simulator (though the result is the same in a non-retina):
As you can see, everything's huge and I have no clue why. I'm running ios7.1, Titanium SDK version 3.3.0.GA and it's a alloy app.
Any help is very much appreciated, thanks.
The point 2.10 reference any resources of app. So, if you have not resources, for example, screenshot before load application, your app will be reject. The iPhone apps should have iPad resources, but iPad apps may be independent.
My problem was not the iPad resources or splash screens. Actually, I was using PIXELS instead of DP in many places in my application. This was not a problem for none of the iPhone versions, but was a problem when iPad tried to run the iPhone-only app in compatibility mode. In any case, now there's also the iPhone 6 with different resolutions so one should never use pixels.

Resources