Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Iphone resolution on an Ipad

Tags:

iphone

ipad

We have an app that has been rejected in the review process by the Apple app review people. The cause for the rejection is that the app is not scaling properly when run on an Ipad.

The app was never meant to be run on an Ipad, but there seems to be no point in arguing with them about that.

Apple sent us a couple of screenshots that show our app being run on an Ipad with the top portion of the view cut off. Notice how the app is run in some mode where it looks like an Iphone app and does not fill out the entire display area. When we bring up the app on an Ipad, it fills out the screen and does so without any edges cut off.

Can anyone please tell me how to run the app on an Ipad the way the Apple guys have - Iphone-sized? We believe we have a fix for the issue but we need to reproduce the error and then be able to verify that the fix solves the issue.

(the logotypes in the images are intentionally blurred)

Image from AppleHow we see it

like image 722
Mats Andersson Avatar asked Feb 14 '14 14:02

Mats Andersson


1 Answers

I just went through this myself and here is how I resolved it:

  1. Go into info.plist and see if any of the supported interface orientations are set for iPad. Despite selecting iPhone only, I had iPad supported orientations for four (portrait, portrait upside down, landscape left, landscape right). I deleted those.

  2. I also deleted any reference to the launch screen in the info.plist. My app is pretty simple and there's no preloading of data so I don't really need a launch screen. If you do, you could go old school and make your first VC the launch screen.

  3. I then made these changes in Target-->General-->App Icons and Launch Images

enter image description here

That was the only way I could get it in the sim to run the app at iPhone resolution while running an iPad (iPad2, iPad Air).

If Apple is going to force developers to ensure an app runs on an iPad even if it is made just for iPhone, they should eliminate the iPhone Only and Universal options and just have iPad Only as an option.

like image 78
PruitIgoe Avatar answered Dec 02 '22 16:12

PruitIgoe