All,
In my project, we have some time delay (Performance) issue when Navigating from one Screen to another screen. Do we have any tool in Xcode to figure out which method is exactly causing the issue?
All,
In my project, we have some time delay (Performance) issue when Navigating from one Screen to another screen. Do we have any tool in Xcode to figure out which method is exactly causing the issue?
Yes we can check by using Instrumentation...Here you can check which method is causing memory leaks and causing delay.
@kiri
please check that there should not be much operations following on viewDidLoad
and viewWillAppear
methods. If you have much operation in these methods it will block mainThread
and hence will cause delay in navigation.
Yes, the Time Profiler Instrument can show you which method takes how much time.
Hit Product -> Profile, then choose "Time Profiler".