iPad Pro. Disable native 2732‑by‑2048 resolution - ios

Need to disable the iPad Pro native 2732‑by‑2048 resolution for my app.
I found that it was auto activated if the app use a Launch Screen(LaunchScreen.storyboard).
Is there a way to disable iPad Pro and continue to use Launch Screen.
(I'm surprise that even with no icon for iPad Pro, the native mode was activated, i'm sure a lot of dev don't have the app ready for this)
Thanks

Are you using LaunchScreen.xib or LaunchScreen.storyboard? If so, if the version of Xcode you use supports the iPad Pro, it will compile the LaunchScreen for everything Xcode supports.
You could use an older version of Xcode which does not recognise the iPad Pro as you don't need it.
Or you could use Images.xcassets and not provide an iPad Pro launch image, though according to what you're asking, this doesn't seem that suitable. You could always use the LaunchScreen.xib/storyboard as the initial storyboard, so as far as the app is concerned, you're using LaunchScreen.storyboard instead of Main.storyboard. Though not providing an app icon should hold all this back, as it does with my current apps. Perhaps file a bug report with Apple? Hope this helps!

Official answer from Apple:
If an application includes a launch storyboard and is built with Xcode 7.1 or later, that application will run at native resolution on the iPad Pro regardless of whether the application includes a 167x167 icon.
If you would like to see this behavior changed in a future version of iOS, I suggest you file a bug report. Bug reports can be filled by visiting http://bugreport.apple.com.

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.

How do I make my app scale properly on 13-inch iOS tablets?

We finally got a 12.9-inch iPad Pro in the office! However, when putting our app on it, it's just stretched to fit the screen. Looking at the project file, I don't see any settings that would change this. How do I make our app properly scale on these large iPads?
I already tried Googling this, but I keep getting reviews and people begging for Xcode on iOS:
How do i make my app work on iPad Pro?
Make Xcode project iPad Pro compatible
iPad Pro .xcodeproj
Making your app work in iPad Pro
How to optimize app for iPad Pro
etc.
If you build with the iOS 9 SDK, then your app is expected to support all resolutions. Same if you use iOS 8 SDK and use a launch storyboard. Without that, iOS assumes that you don't support the resolution, but scales an iPad app. So that's what you need to do: iOS 9 SDK, and/or launch storyboard.

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.

iPhone app on iPad without compatibility mode

I've developed an iphone only app (so 'Targeted Device Family' is set to iPhone since the beginning of the project) and when I finished I've tried to run it on the iPad just to check if the compatibility mode was working correctly but surprisingly it loads a full screen, without any compatibility mode!
Of course since it's an iphone app it doesn't look good at all. Can you think of the reason why the targeted device family = iPhone doesn't fire the compatibility mode on the iPad? (I tried on real device and simulators as well).
In iOS 8, there is an issue that when you use the new Launch Screen File, your app will automatically become universal. This issue is solved in iOS 8.1 beta, and therefore this is not a real solution.
For now, you are better off using Launch images in the asset catalog.
Also add the device modifier ~iphone to the launch file will make sure that the app is not see as an universal app.

Resources