ios - ViewDidAppear more faster -
I have a UItextview where I can write in and with a data class I can give data anywhere in my scene ViewDidAppear function I pass my data but it is a bit slow. I text appears after 0.2-0.3 seconds, how can I solve that problem? To make some diagnostics offline, we have concluded that the delay in question is actually only switched to you as a standard delay.
From one tab to the other, nothing was extraordinary, this delayed more because we had a real device Instead of looking at UX through the simulator. Therefore, some conclusions:
-
Alva simulates the benchmarking using the actual device instead of the simulator.
-
Instead of reacting to a perceived delay, for example, always increase the effect:
Let's start = turn on CFFsoluteTimeGet / / Allow some stuff to end = CFAbsoluteTimeGetCurrent () - Start println (string (format: "% @% taken%." Sometimes, using the Time Profiler Tool (using the "Record Wait Thrax" option) in the tool Keep track of these issues. For demonstration, watch the WWDC 2012 video.
Comments
Post a Comment