App stays in splash screen in iOS 7.0.3 - ios

Recently in iOS 7.0.3, my app stays in the splash screen and was not going into the app at all.
If i kill the app and launch it again it opens up without any issues.
Can anyone help me on this issue?. I think the application -didFinishLaunchingWithOptions was not returning yes.
Note: I have a lot of stuffs like deleting database, initializing a dozen of buttons in appdelegate init function.
I know that it is a bad practice to have things in init but since its been there for more than 4 years and was working fine with previous OS versions i didn't find a good reason to change it.
Also this issue is not happening all the time.
My app size is 40 MB.

The iOS Guidelines say that you should not include anything which holds the Splash screen for much time its better if you do all the process in background so that splash screens loads up and user can play with app. But as you said your issue is not all the time so Try to reset the app and also quit simulator. Hope this helps.

Related

iOS App shows black screen after succesful install on device using Xcode 12.5

I am trying to install an app using Xcode 12.5 on my personal device which is an iPhone 7 plus running iOS 15 underneath.
I got it to work after much hassle by adding iOS 15 device support files, but, after the app installs and launches itself, I get a black screen for like a minute or two and then the app works fine.
However, if I debug it takes approximately 30-40 seconds from jumping to one breakpoint to another and it consumes a lot of time.
I have tried scouring for a lot of information on this but no luck. Any solution for this would be appreciated.
You probably disabled your Splash screen that is why black screen appears.
Go in your LaunchScreen.storyboard file, there you will find a Screen Controller. Make it story board entry point and give it a background color of your choice.

In iOS 11.2, opening forcefully closed apps, sometimes shows the previously visible view and redirect to the launch screen

In iOS 11.2 application I have noticed an unusual behaviour (opening forcefully closed apps, sometimes shows the previously visible view and redirect to the launch screen), I don't know whether it is bug with OS or something else but it can sometime appear in Google app also.
You can find the related video in below link.
https://s3.amazonaws.com/uploads.hipchat.com/37040/3355524/7K3EL8N5X55tN8p/ScreenRecording_12-13-2017%2013%3A23.MP4.
Please help me to figure it out whether it is a feature or bug.
In my opinion, it's rather a bug or just normal behaviour, not a feature. There is some time before the app is dropped from the RAM, used to save some data, e.g. in appWillTerminate, etc., but it should not make an effect like you have observed. From the second hand, maybe device holds the image of how app looks like before the rage quit and shows it up, then freshly opens the app.

Xcode splash screen not displaying correctly

I am currently building an iOS objective c application and am working on the splash screen now but am running into display issues when running on a device.
This is how the layout is set up in my storyboard:
This is how the screen looks in a simulator, the correct version:
And this is how it looks on a device, the incorrect version:
Has anyone ever run into this problem and if so, how did you fix it? I'd be happy to provide any code if needed but i'm not sure what to include that would help solve the problem.
I have experienced this problem, too simple, this is an iOS BUG that can appear when you build directly from XCode, there's no specific solution, try restarting the iOS Device, I have never seen it when downloading the app from apple store after publishing, so simply ignore it, people who will download the app from apple store will not see this.

IOS App suspended automatically

I have a problem in my release iOS app...
When i use my app and through all of feature (Like to another view in my app etc) in my app and then i click home button in ios to switch in to another app then i switch back to my app. My latest state (View) still exist. However, when i switch in to another app for a while, my app restarting from splash screen.
Another problem when i am trying to detect the problem in my ios simulator, the problem i have in the release app could not appear in my ios simulator.
Any people here could give me a solution to fix my problem ?
If the problem i have in memory usage, how many memory usage can be tolerated by IOS system ? and how can i know from ios simulator that memory usage is greater than the limit ?
additional info : my iOS app is based on objective-c and mixing with swift code. I use XCODE 8 and my app not using background service like download video, music, and etc. However, i use nsurlsession to fetch data from server and using data from server to load image from server. I use sdwebimage to handle image.
I hope this picture can give another insight about my app. This picture i take when my position in home of IOS, not in my app
It probably is memory usage. The job of the WatchDog process is to look for suspended memory hogs and kill them. You appear to be one.
You can readily see in Xcode how much memory you were using when you went into the background. How much was it? If it's a lot, don't do that. It's your job to release as much memory as you can when you go into the background, for this very reason.
However, your app can never hope to live forever — sooner or later, it will be killed in the background — so another responsibility you have is to save its state and, if you are launched from scratch, restore that state. That's just how iOS works.

How to disable autoscreenshot of window when app switching in iOS 6?

How to disable autoscreenshot of window when app switching in iOS 6 ?
I am launching app in iOS 5, and switching to other app with 5 fingers (slide gesture). Then back to first app, and while app is scrolling, i see a Default.png image. This is good.
But in iOS 6, while app is coming, i see a screenshot of app window, it seems, which was made when app is go to background. This is bad, because screenshot was made in old time and showing to user wrong image, and after app is activating, image is changing at quickly to true. In some case, screenshot is actually, but after 2-3 tryes, screenshot is very old.
Anybody knows, how to disable autoscreenshot OR maybe resolve problem with screenshot, for screenshot will be do at every time, when app is switching?
Thanks

Resources