MAUI iOS does not fit the screen - ios

When deploying my MAUI iOS application in debug mode, it is displaying the application as a smaller window inside of the iPhone screen.
Almost like a smaller window inside of a window.

I fixed this by adding a MAUI splash screen, which I had accidentally removed previously.
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
You can track this issue at https://github.com/dotnet/maui/issues/11951

Related

Xamarin Forms iOS black box in middle of splash screen on iOS 11 only

I'm using Xamarin Forms to create iOS app. Only on iOS 11 the app splash screen has a black box in middle instead of an image. I don't know if it is related but this issue started to appear when we changed language on phone to test localisation. I'm using LaunchScreen.storyboard to create my splash screen that comes with Xamarin Forms sample project. Also if I change the image name in LaunchScreen.storyboard the splash screen starts to appear right for a limited time.
I'm using latest VS 2017 15.7.2 and Latest Xcode
In my case, my image for the splash screen was on resource (not assets) folder as a png file.
In the splashScreen widget, changing the name of image without extension (my_image.png -> my_image) worked for me.

xamarin debug on iPad

I am developing a iOS app with xamarin. If I debug it in a physical machine (iPad) or a iPad simulator, it only shows a white screen. But it works if I debug with iPhone simulator.
What is the cause of the issue?
Thanks.
Updates :
I found that it is due to the project only have an iPhone view. And it leads to another question - When I would like to change the width and height of content in iPad view, all views will change at the same time. Does it mean I need to create different storyboard for each screen size?
Thanks.
The white screen issue is related to the zoom level on your simulator. On the Simulator, look at the Window menu and it will be either Zoom or Scale. Try setting Scale to 50%.

Worklight Cordova Application SplashScreen Rotates During Application Launch

My application supports Portrait Mode in some pages and Landscape Mode in others, so in the case of the IOS version of the application I have Portrait, Landscape Left and Landscape Right turned on but restricted in the View Controllers. I have noticed however that during startup of the application when the Splash Screen is displayed it allows rotation. Wondering if the only way around this is to include additional assets for the Landscape version of the Splash Screen image.
Using Worklight 6.2 and Cordova 3.4.1
I did not notice the application rotating while the splash screen is displayed, ... but anyway, you can solve this in 2 ways:
As your wrote - provide "proper" splash images, but I think that would still be odd looking. Or
Create a custom splash screen behavior; basically implement the Objective-C code that will disallow the rotation during the initialization stage of the application.
For this, you can read the following documents:
Common UI controls training module, starting slide #29
Managing the splash screen user documentation topic

Phonegap application getting crash when entered in background mode

I'm working on application in ios using PhoneGap(1.9).Following are the issue's i'm facing with quiet few hours...
1)My application is getting crash when application enters in background mode.
2)Also,how to disable splash screen.I have deleted default.png image,but still it is showing splash screen with phonegap logo followed by white blank screen.
Thanks & regards.
I came across this question because I'm having the same problem with background mode.
However, regarding splash screen, I can tell you that you have to replace the specific file for the screen size. It generates images for all of the screen sizes and you have to replace them in the built folder, not just the original project folder (at least I seem to have to do this).
The built folder is at the path that should look like /MyProject/platforms/ios/www/res/screen/ios/[screen_specific_splash_screens]
Similarly I had to do the same for the icons:
/MyProject/platforms/ios/www/res/icon/ios/[screen_specific_icons]
Docs for these files (talks about which screen sizes):
http://docs.phonegap.com/en/4.0.0/config_ref_images.md.html

Custom PhoneGap slash screen

Is it possible to replace the splash screen for iOS and Android with a custom one?
As far as I know there are 2 splash screens in iOS PhoneGap:
The "normal" iOS splash screen
The PhoneGap splash screen (same image with a spinner)
Would it be possible to:
replace the "normal" iOS splash on runtime as it is possible with normal xCode Projects
replace the "spinner" splash screen (I couldn´t figure out if that´s the phonegap-plugins / iPhone / SplashScreen code or not)
It seems that the normal xCode ways of doing things get overwritten. I´m a bit confused by that as I´m new to PhoneGap.
yeah,you can do that.
make your custom image in 640×960px(name:Default#2x~iphone.png) and 320×480px(name:Default~iphone.png)
go to[Name Your Project]/Resources/splash
replace them..

Resources