xcode – Undesirable Prime and Backside Spacing in .NET MAUI iOS Simulator

0
16
xcode – Undesirable Prime and Backside Spacing in .NET MAUI iOS Simulator


Drawback

When operating my .NET MAUI utility on an iOS simulator (linked by means of Mac pairing), the app shows with surprising clean areas on the prime and backside of the display. This challenge happens particularly on the iOS simulator regardless of profitable connection and operating of the simulator.

Surroundings

  • .NET MAUI (focusing on net8.0)

  • macOS with Home windows pairing

  • iOS Simulator

  • Visible Studio

Related Code

Undertaking File (Related Elements)


    net8.0-ios;net8.0-maccatalyst;net8.0-android34.0
    Exe
    true
    true
    allow
    11.0

Data.plist





    LSRequiresIPhoneOS
    
    UIDeviceFamily
    
        1
        2
    
    UISupportedInterfaceOrientations
    
        UIInterfaceOrientationPortrait
    
    UIRequiresFullScreen
    


SplashScreen XAML (Related Elements)

xaml



    
        
        

            
                
                    
                
                
            
            
        
        
        
            
            
                
                    
                
                
            

            
            
        
        
        
            


utilizing CommunityToolkit.Maui.Views;
utilizing TIAERP_App.Options.Auth.Companies;
utilizing TIAERP_App.Utils.DeviceInfohelper;

namespace TIAERP_App.Options.Auth.Views.Registration
{
    public partial class RegistrationView : ContentPage
    {
        personal RegistrationService _registrationService;
        personal DeviceInfoHelper _deviceInfoHelper;

        public RegistrationView()
        {
            InitializeComponent();
            _registrationService = new RegistrationService();
            _deviceInfoHelper = new DeviceInfoHelper();

        }
        personal async void OpenPartyCodePopup(object sender, TappedEventArgs e)
        {
            var popup = new PartyCodePopup(Navigation);
            var data = await _deviceInfoHelper.GetDeviceInfo("3");
            Preferences.Set("NodeId", data);
            this.ShowPopup(popup);
        }
    }
}

What I’ve Tried

  • Set Shell.NavBarIsVisible="False" and NavigationPage.HasNavigationBar="False"

  • Added UIRequiresFullScreen in Data.plist

  • Confirmed correct simulator connection and operating state

Anticipated Conduct

The app ought to fill the whole display with none undesirable spacing on the prime or backside.

Precise Conduct

The app shows with pointless clean areas on the prime and backside of the display within the iOS simulator.

Screenshots

Faucet right here to see the picture

Can anybody assist determine what’s inflicting these undesirable areas and take away them?

LEAVE A REPLY

Please enter your comment!
Please enter your name here