Post

Replies

Boosts

Views

Activity

Reply to App not full screen on iPad mini 6
Here is an equivalent screenshot from a different iPad, from our app store listing. We've been on the app store for close on 10 years with our app scaling to use the full screen on all the different iPads before the iPad mini 6 and across all the different iPhones, i.e. a range of resolutions and aspect ratios without this issue before. Also noticed in the debugger that mainscreen bounds also returns 1024x768.
Topic: App & System Services SubTopic: Hardware Tags:
Dec ’21
Reply to App not full screen on iPad mini 6
I did check UIScreen.main.bounds.size in code which is where I was seeing 1024 x 768 in the debugger. Almost appears as if something is preventing the OS from recognizing that the app has been built with XCode 13 and SDK 15.2 and so it's running the app as if it's been built using XCode 12 etc. There are 7 distinct logical resolutions covering all the different iPad models and our app gets the full screen size and sizes itself full-screen for all of them except the iPad Mini 6 running iPadOS 15. https://iosref.com/res Over the last couple of days I have tried changing a bunch of other settings to see if they would make difference, so I did set UIRequiresFullScreen = NO but it made no difference. I changed other things like changing the minimum system version from 8 to 15, also no difference. Really frustrating, Apple claims all you need to do is rebuild with XCode 13 and SDK 15, but something isn't quite working for our app with just that change.
Topic: App & System Services SubTopic: Hardware Tags:
Dec ’21
Reply to App not full screen on iPad mini 6
Yep, XCode 13.2.1 (13C100). I'm also using the simulator to test since I don't have a physical iPad mini 6. I use a nib file, both the window and the image view are set for scaleToFill, but the issue is the OS is telling the app that the main screen bounds are 1024x768. So the window and the image view scale to fill 1024x768. <window clearsContextBeforeDrawing="NO" contentMode="scaleToFill" visibleAtLaunch="YES" id="2"> <rect key="frame" x="0.0" y="0.0" width="320" height="460"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> </window> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" id="24" customClass="UIImageViewSurfaceBacked"> <rect key="frame" x="0.0" y="0.0" width="320" height="416"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <gestureRecognizers/> <inset key="insetFor6xAndEarlier" minX="0.0" minY="20" maxX="0.0" maxY="0.0"/> </imageView>
Topic: App & System Services SubTopic: Hardware Tags:
Dec ’21
Reply to App not full screen on iPad mini 6
I did try other values like aspect fill but they made no difference. Which makes sense once I noticed that the UI main screen bounds are 1024x768, the window isn't going to fill out to anything larger if the screen bounds have been limited by the OS to 1024x768. If you are seeing 1024x768 points, for an iPad Mini 6, then you have a problem somewhere The original Apple link I mentioned https://developer.apple.com/news/?id=oefg5bhp says that if the app is compiled using XCode 12 and sets UIRequiresFullScreen=YES then the app won't receive access to the full screen. Which is what is happening in my case even though I've compiled using XCode 13.
Topic: App & System Services SubTopic: Hardware Tags:
Dec ’21
Reply to App not full screen on iPad mini 6
I don't see where your 768 x 1024 is coming from! Yep, that's the question. It's as if iOS on the iPad mini (6th generation) doesn't think our app has been compiled with XCode 13 even though it has. So since it thinks our app isn't aware of the new iPad mini 6's new resolution and aspect ratio it runs apps with "requires full screen" and compiled with pre-XCode 13 with the resolution of the older iPad mini model and letter boxes them.
Topic: App & System Services SubTopic: Hardware Tags:
Dec ’21