White Screen during startup in Ionic 6 App - xcode

I am developing an Ionic 6 App with Capacitor. This App runs on both Android and IOS.
On start-up, I get this white screen, which can vary from a few seconds to much longer.
What can I do to determine the cause of this white screen? Does it need to be done on Ionic? web browser or on Andriod Studio / Xcode?

Related

My splash screen on my app is now a dark screen after upgrading to android 12

Splash screen is black after upgrading my phone to android 12. The app is written in Xamarin. Not sure what to do to fix this. I am using a splash_screen.xml is there a better way?

App screen size is too small for the ios simulator

Here is a screen shot of an ipad 10.5 inch running my app which takes up around 50% of the screen real estate. How do I force the app to use 100% of the screen real estate? (I am using xcode 10)
You have to specify it in Xcode. If you don't the ipad is getting a scaled up version of ui for iPhone 4. Open Xcode and specify it "General" project settings.
May be your IOS setting preference is wrong. You are opening your application on ipad but XCode rendering your application as iPhone app.
Go to general setting and select "iPad" in Deployment Info section.
Go to Build Setting and select "iPad" in Targeted Device Families under Deployment section.
Restart your project.

iPhone 6 plus - App zoomed in

I built my app for iPhone 6 plus on the iOS simulator. All the other sizes looked fine but the iPhone 6 plus was zoomed in for some reason. Why does this happen? Would this still happen when it is built to the Appstore ?
Note: I am using unity free version and would not be allowed to change the splash image.

iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution

Please suggest me.How to solve this.
I got this reason from iTunes Store**"iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution"**
But I built in only for iPhone.
I got answer of my question.But i didn't change anything in my code.I submitted the same build to the AppStore.App store is accepted my same binary,This is worked for me.
In order to determine if your app is running in iPhone resolution on iPad, embed this code in you opening view controller class:
-(void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
NSLog(#"width = %f, height = %f", self.view.frame.size.width, self.view.frame.size.height);
}
If your app is displayed in iPhone resolution, you will see this in the output console:
width = 320.000000, height = 480.000000
I had the same app rejection reason and it turned out that in FACT my app WAS in iPhone resolution on the iPad, but in iPhone 4 resolution (which I didn't design it for) which made it look like it was in iPad resolution even though it wasn't. Apple has dropped support for the iPhone 4 with iOS 8 and will likely drop support for iPhone 4S with iOS 9, so I neglected to design the app for iPhone 4 which meant that some of my UI elements at the bottom of the screen were not visible on the iPad displaying iPhone 4 resolution. That was the reason for the rejection (really dumb since it's not even an iPad app).
This is what I got back from Apple Developer Technical Support:
While your app may be built for iPhone or iPod, it must still run on
iPad. Did you test your app on an iPad prior to submission? If you
don't have an actual iPad device to test with, many issues that lead
to a 2.10 rejection can be spotted by testing in the iPad simulator.
I'll go over a couple of the most common ones here:
1) Controls or Important Content That Underlap the Status Bar
If your app places controls or important content in the twenty points
below the top of the screen, they will be cutoff when the app is run
on a retina iPad [1]. This can lead to a poor user experience. Make
sure that your app positions controls and important content below the
status bar. You can use the topLayoutGuide property from within your
UIViewController instance to access the current status bar height.
You can also create Auto Layout constraints between the topLayoutGuide
and your view controller's subviews to ensure they remain positioned
below the status bar at all times.
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/topLayoutGuide
2) Authoring Your Interface Specifically For the 4" Screen
Both the iPad and iPad retina simulate a retina 3.5" display when
running iPhone apps. This means that content positioned 480 points or
more below the top of the screen will not be visible when the app is
run on an iPad (or an iPhone 4, and iPhone 4s for that matter). This
can lead to a poor user experience. Make sure that you have designed
your interface to adapt to any height. This means either adopting
Auto Layout[2] or overriding
-viewWillLayoutSubviews/-viewDidLayoutSubviews in your view controllers to manually position your elements for the given screen
size. If your app displays more content than will fit on a 3.5"
screen, consider placing it in a scroll view.
https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/UIScrollView_pg/Introduction/Introduction.html
Before we continue, please try running your app on either an iPad
device or the iPad simulator (both the regular and retina). See if
you can spot either of the above issues in your app. If you can't,
send me screenshots from your tests and we'll work from there.
[1]: When an iPhone app is run on a retina iPad, a 20 point black bar
is overlaid atop the app's window, obscuring any content underneath
it.
[2]: To get started with Auto Layout, you'll want to watch the
Introduction to Auto Layout for iOS and OS X session from WWD 2012
https://developer.apple.com/videos/wwdc/2012/?id=202 followed by the
Auto Layout by Example session from WWDC 2012
https://developer.apple.com/videos/wwdc/2012/?id=232.

iPad 2 shows blank black screen after launch randomly on device

I'm newer to xcode and have picked up this universal app project from another dev who never could figure out how to fix a bug that was in the code because he said that he could not replicate it.
I have 4 different testing devices and I'm able to get the app to work fine on 3 of the 4. iPad retina, iPhone 4, and iPhone 3 all work. It also works fine in simulator. It's the iPad 2 that has been getting the error.
There is a blank / black screen that appears after the application loads. The default.png file shows during loading and then after that the screen goes blank. There is a looping music file that plays on the main view controller iPad_HomeViewController.m. I can hear this playing so I know the app is running, but the screen is blank and you can't use the app. Sometimes the app loads up perfectly and works correctly and then after a few uses of closing it out and reopening it the blank screen appears again. I've also seen it load the iPad_HomeViewController for just a few seconds so that you can see all the graphics and the navigation buttons and then it goes blank/black. I can usually get the blank screen to go away by closing the app out completely and relaunching or by powering the device off completely and then turning it back on and relaunching.
I'm working with xcode 4.3.3

Resources