I have a game we're trying to release in the app store for iphone and ipad, and while it works fine on all of our devices (a handful of iphones and ipads), when the app store reviewers try it the actual viewport they see is highly cropped and distorted.
This is an example options screen that the reviewer saw:
This is what that options screen looks like for us on an equivalent aspect ratio/resolution:
As you can see, it's just a small, off-centered square for them, surrounded by black. But we've tested this on devices like an old iphone 5 up to big ipads and have never seen anything like this, the game takes up the full screen and the aspect ratio is correct and not distorted or stretched.
One important detail is this is entirely an OpenGL and SDL program, not using any Apple UI frameworks at all. The render size is determined by SDL_GetRendererOutputSize(), which then is used in glViewport(), and the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag. This so far has seemed to work with both retina and non-retina physical devices.
Also all of the screenshots they've given us look the same, same little square viewport surrounded by black, so I originally thought they were cropping them on purpose to highlight specific components of the screen, but this appears to be just exactly how it looks for them as this square is in the same position in each screenshot. I've asked them for more information on their devices but they wouldn't tell me.
We also have the program set to only ever use landscape, not portrait, but the weird thing is that with the way our UI reflows, the only way to get that button to look squished the way it does there is if the game was somehow still rendering in portrait, as seen this example shot I took by forcing it to run in a very tall portrait window:
I don't even know where to begin to try to figure out what's going wrong for them though, because as I've said, everything looks fine when running in an emulator and everything looks fine when we've run it on several physical devices. Is there some build or release configuration I could be missing? Some OpenGL setting I should check? I'm just hoping this problem looks similar to something someone else has encountered before.
If you are on an equivalent device, then another thing that may differ is the accessibility settings. Search for display zoom in settings. Also, try locking the iPad into portrait mode before launching your app to try and reproduce.
Note the little double arrow icon in the lower right corner of the reviewer’s screenshot. I don’t know what that is, but it looks like it could be some kind of screen zoom or accessibility mode. Perhaps they can answer what it does, and how to enable it for yourself.
To follow up with the solution that worked for me, I noticed that in my project's General settings in Xcode, under Deployment Info, I had only checked iPhone and not iPad. What I've since learned is that without that checkbox, some iPads will have to run in an emulation mode, which may have been the source of our problem. Deploying a new build with that checked (as well as "requires full screen"), it rendered exactly the same on our own iPads, but the app was subsequently approved with no further problems. I had made no other changes to the program, so my assumption is that that setting likely fixed it.
I want my APP on iPad that A-View is Portrait-only and B-View is Landscape(Left or Right)-only.
I tried [application:supportedInterfaceOrientationsForWindow:] in my AppDelegate.m and [shouldAutorotate:][supportedInterfaceOrientations:][preferredInterfaceOrientationForPresentation:]in my NavigationController,ViewController which I used to show my APP(iOS 11).
It works well on iPhone, but when I try on iPad it doesn't work even [application:supportedInterfaceOrientationsForWindow:].
I want know how to control ScreenRotation on iPad.
Thank you very much.
Appreciate for your kindness help.
solved, just keep for reminder
iPad has the multipleScreen Function that it must support All-Rotation.
But when you check [Requires full screen]on Deployment Info, it means iPad now is full screen and the Rotation Function can work well.
It seems something is going wrong with UIActivityIndicatorViews in iOS 8.4...
How it looks on 8.2:
How it looks on 8.4:
If you look closely you'll see that on iOS 8.4 it seems to be rendering at non-retina scale! The same also seems to be happening to badge views on the tab bar, try setting the badgeValue on a UITabBarItem.
Does anyone know if there is a workaround to get it to draw properly? I know it's only a minor bug but it looks kinda crappy :(
Im having a problem with a webapp I have developed. I would really appreciate your help and guidance with this issue.
My app has been developed at 1024px x 768px and it is working fine on the ipad 4th gen. Please note that this app is made for landscape mode only.
When the app is viewed on ipad air it seems to disappear slightly off the screen bottom and right. I have checked the resolutions and they seem to be both the same.
Does anyone know why this is caused?
Thank you in advance!
I have finally managed to find an answer! - This problem was oocuring due to now devlaring the viewport in the meta tag header! Once decalred the problem sorted!
I was required to display my website in a full page iframe, which was already a pain in the ass (I'm ranting sorry).
In the I have a select input and it seems that after I make a selection the screen freezes when the screen is vertical but if I put it in landscape mode it works like a charm.
Also the same thing happens when I go from landscape to vertical mode and again all comes back to normal back in landscape mode.
I though it could be due to some of my scripts but I remove everything and I still got the issue.
And I forgot to mention it, but there was no issue at all before installing ios 7.
I'm at it for a while so any suggestion would be really appreciated.
I tried reducing the code to the minimum cleaning out the unecessary stuff and putting everything together in a single file instead of using partial pages. Since then it seems to work so I'm gonna leave like that it's been long enough.
Still not sure what was the issue even though it worked on IOS 6 and without the iframe or in landscape mode on IOS 7. Anyway I'm done with it