How can I simulate an iPhone app running on an iPad? - ios

My app keeps getting rejected from the app store based on this rule:
2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
I'm trying to figure out how I can test whether my fix is working. How can I simulate "running on an iPad at iPhone resolution" and how can I confirm that it work correctly at both resolutions?

What you can do is to choose an iPad Simulator from the schemes-dropdown menu and run it on there even though it is an iPhone-only application. If it runs fine on there, you should be good to go.
Hope that helps :)

In info.plist, for the key "Supported interface orientations (iPad)" removing any landscape orientations and
leaving only Portrait (bottom home button) fixed my problem.

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.

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

My app is again rejected by app store. The reason is "iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution" . I have checked my app in iPad and it works fine. Here is the screenshot app on iPad Please tell me what to do. My app is only for iPhone. Here is the screenshots of my app settings
Please help me out.
Ensure all the functionalities are working fine on iPad. Check all the screens, keyboard should not hide the text fields and options anywhere. You can check in 3.5 inch simulator and check Default(Splash) image shows on iPad or not.

Running iPhone application on iPad shows a black bar on top of the app

I have see a black bar on top of the iPad app , actually app is designed for iPhone and running in iPad, Not able to reproduce in iPhone and this happens very rare.
Please Help on how to fix this issue
did you create the .xib file for ipad or storyboard? if so the also change your device in the deployment info section from iphone to universal.
You need to create universal application for both iPhone or iPad, currently your application target only iPhone Device.

Which Xcode build settings for iPhone app so it can run on ipad as well?

I have written an app intended for the iphone. Obviously it is ok if it used on the ipad in the iphone mode, but it is an iphone app.
My app got rejected by Apple, I received a mail with a screenshot named Screen_shot_0.png as attachment, that was empty with in the middle the text "My Universal App on iPad" (which you if you open in Xcode the file MainWindow_iPad.xib).
Probably the app was uploaded with the Universal setting, not sure.
I did add icons, launch images etc. for both iphone and ipad.
Now I am confused about the following settings (click on Xcode project file): I will give my settings:
Project "appname"
iOS Deployment Target: 6.1 (should I take an older one?)
Targeted Device Family: iPhone (should this be iPhone/iPad?)
Targets "appname"
Targeted Device Family: iPhone (should this be iPhone/iPad?)
Everything works on iPhone4, iPod, iPad3.
The only thing is that the launch image of the iPad is cut off a bit at the right side, which causes me to think that some iPhone splashscreen is used instead. Would this be an issue for Apple?
If you want an app written for iPhone to run on iPad in iPhone mode, then you've actually done too much.
Just write it as a an iPhone-only app, and the iPad will automatically support it in iPhone mode. iPhone mode on the iPad offers users a chance to zoom to 2x resolution, but everything is "as if" it's running on an iPhone. Be sure NOT to upload as (or set attributes to claim it is) Universal. Don't provide multiple versions of screenshots, only provide iPhone screenshots. Think of "iPhone mode" as an iPhone emulator that runs on the iPad.
Only use "Universal" if you want to package both iPhone and iPad apps (typically with separate storyboards and definitely with distinct screenshots) in a single package that can run on either device. Upload as iPhone only and it will run on iPad in iPhone mode. Good luck!

Apple asking for iPad screenshot (in iTunes Connect) on iPhone app?

Quick and hopefully obvious question. I'm setting up my app to be submitted, and I'm working in iTunes Connect. It's asking me for iPhone and iPad screenshots. Is it okay to leave out the iPad screenshots if your build is only for iPhone (as in I have set the device in target to iPhone)? It seems redundant to take a screenshot of my app running in 2x move on an iPad.
Thanks in advance for your thoughts.
Is it okay to leave out the iPad screenshots if your build is only for iPhone (as in I have set the device in target to iPhone)?
Yes.
Yes. If your app is iPhone-only (in terms of layout), don't give them doubled iPad shots.

Resources