objective c - loading UIViewController faster -
i have 6 viewcontrollers , 6 buttons in project. every button brings appropriate viewcontroller. thing when user taps example 4th button application freze 1 or 2 seconds , requested viewcontrol loaded. want make things faster. mean checked applications there done first requested viewcontroller brought starts load controls. how can such thing in application ?
using "time profiler" tool in instruments can see functions in code slow. should figure out code slowing down.
for instance, if swapped view controllers out blank ones shouldn't see freezing. chances in view controller initialization code slowing down.
Comments
Post a Comment