We are experiencing a strange flicker when the app launches. It is
intermittent and we are not able to reproduce the issue consistently.
Upon launch, the app shows the home screen for a few moments before
showing the app UI, creating in a weird flicker. We understand that
this info is light on details but we have no clue where we should
start looking.
Related
Sometime iOS app is getting stuck with black screen while launching the app. Most of the time it's launching gracefully without any issue.
This legacy app in the market more than 5Yrs we never encountered any issue in the past related to app launch.
Most likely you are performing some UI work on a non-main thread. Put breakpoints into your network callbacks or any other callback your launch sequence may be using. Hint: you can put a Thread.isMainThread==false conditions to your breakpoints.
Short description of the problem: First time when the app is opened the splash screen appears normally and than it is followed by the home screen. But after the app was closed from taskmanager (double click on home button and swipe up) and opened again, the previous(cached) home screen appears(flashing) for a very short time before the Splash screen appears. I think every iOS app running on iOS 11.4 (ios 9 and 10 not affected) is affected not just mine. As you can see below(slow motion video), I could reproduce it with the Twitter app also - firstly it opens normally and at the second time the problem appears.
My application is suffering constantly from this issue in a predictable way, but the Twitter and other apps are not. They produce this symptom every now and again but than nothing for the following 5-10 try. With normal usage - if I don't terminate the app manually or there are a few app opened between mine is closed and reopened - the problem is not appearing.
The question is, is there a workaround for this issue?
Try adding this line of code in didFinishLaunchingWithOptions:
UIApplication.shared.ignoreSnapshotOnNextApplicationLaunch()
I have a weird problem ie the app sometimes becomes black and the side menu remains visible and the flow is random and it is highly intermittent.
As crash is not happening not able to get the crash logs from the phone
The chances of happening in the simulator are very very less.
Once it happened in the simulator but couldnt figure out the correct file name(i was using view debug hierarchy to get the simulator inside xcode so that the layout can be found)
I cannot share the code for some reasons
Can anyone help me in identifying the root cause of the issue?
We are working with a developer that is having a hard time debugging an issue so I thought I would post here.
When we receive the build and install the app it will work fine, but after the app being in the background for a few days when we tap on the icon it will show the loading screen and then crash.
When tapping the button twice we will see the app in the background and when we bring it to the foreground it is frozen.
The same similar issue happens if we install over a previous build it crashes upon initial launch.
One of my developer friends said it might have to do with the auto login. We have Crashlytics setup but it's not catching these crashes. Does anyone have any ideas of what this could be?
Im having problems with Xcode timing out to installing the app on my device. The problems persists even if using different devices. Usually 4/5 tries will result in a black screen.
Xcode says successful and the app opens up on the device, but the screen is completely black and the device stops responding.. only a hard reset works.. the home button isn't responsive.
You can however hear that someone is calling you, but you cannot answer the call.
I have no idea of whats wrong, because it builds completely fine.. Any idea on what might be wrong here?
The error Im receiving is:
error: failed to launch '-- timed out waiting for app to launch
Update:
Someome mentioned to me that it might be a faulty cable, but I get the same black screen when downloading the uploaded app from hockey app.
Often this is the result of building the app in debug with an ad-hoc or release configuration. There was also a bug early in Xcode 5 where it would hang as well, I think this is fixed in the most recent update.