IOS Animation Screen Start Time

It seems like the fade-out animation between the launch screen and my first view is very slow.

I don't think it was like that. Is there a way to control the speed of this transition animation?

I looked at some apps on my phone and the startup screen doesn't fade as slowly as mine. What can I do to influence this?

(No, I don't have a slow animation, only a slow animation)

0


source to share


3 answers


I never figured out what was going on here, but the next day when I ran xCode and the simulator it went back to normal load times.



0


source


In the WWDC 2012 video iOS Application Performance: Responsiveness, they list a whole list of issues that affect application startup time, ranging from attaching to unnecessary frameworks, optional binding to frameworks that you might actually require, using static initializers, overly complex initial scenes. too much information stored in the settings, etc.



This video covers a number of topics, as noted above, that affect startup times. In the demo, they show how the startup time can be measured. Unfortunately, in my experience, there is a good chance that you won't be able to do anything to fix this problem (for example, you need certain features and therefore need certain frameworks), but this is still an illuminating video and it might give you some ideas that you can try to alleviate startup problems.

+1


source


If your app splash screen is showing longer times, so please check the following in your app. 1. AppDelegate.m in the didFinishLaunchingWithOptions method you called some heavy method that takes longer to complete the task, if yes, then change this location of the method, basically do not write any heavy methods in the appDelegate class. 2. The first view of your application. check the viewDidLoad () method, if you are calling many methods here or any heavy method, then your launcher image will show that your control has not exited the viewDidLoad method, so if you want to call any methods during view startup then call them from viewWillAppear or the viewDidAppear method (no UI related methods are called in the viewDidAppear method)

0


source







All Articles