App not full screen on iPad mini 6

Sean McLeod 1 Reputation point
2021-12-28T21:08:51.613+00:00

Our app uses UIRequiresFullScreen=YES and runs on iPhones and iPads and we've rebuilt it using XCode 13.2.1 with SDK 15.2 as per Apple's instructions - https://developer.apple.com/news/?id=oefg5bhp

However our app still doesn't appear full screen on the iPad mini 6, it has black bars (letter boxed) and in the debugger we can see that the window frame is 1024x768.

Also in the debugger I've noticed that the UI main screen bounds also returns 1024x768.

Is there something else not mentioned in Apple's instructions above that we need to set? Or some incompatibility with Xamarin.ios (15.4) that is preventing iOS from recognizing that our app has been compiled with XCode 13 and so it should create our window using the full iPad mini 6 resolution?

160935-easycockpit-ipad-mini-6.png

Developer technologies | .NET | Xamarin
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2021-12-29T05:36:18.013+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    If you have updated VS and Xcode to the latest version, you are using the latest SDK, you only need to recompile your app.

    You said " I've noticed that the UI main screen bounds also returns 1024x768 ". The main screen bounds is related to the LaunchScreen or MainScreen. The 1024x768 resolution was used with the original iPad Mini. You could check if there is any size missing from the LaunchImage in Asset. But Launch Image has been deprecated after iOS 13, you could check the LaunchScreen.storyboard and its constraint.

    After iOS 13, SceneDelegate is used to support multiple windows of the same app in Split View. I'm afraid you want to keep your app full screen during multitasking, so you set UIRequiresFullScreen=YES. You could check if you have set any size in SceneDelegate.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.