View Controller loading from storyboard taking too much time
In my case, the font assigned to control(s) was wrong.
ProximaNovaSoft-Semibold
font was assigned to controls, but this font did not exist. The real font was Proxima Nova Semibold
.
Because ProximaNovaSoft-Semibold
did not exist, the system took time to search for this font causing a delay.
After I corrected the font for some of my controls, it loads fast.
You can check against some potential cases:
In VC4, are you doing something in
viewWillDisappear
orviewDidDisappear
?Make sure you are loading data asynchronously in VC4?
Are you doing something bulky in
viewWillAppear
in VC5?If you go from VC1/2/3 to VC5, does it still take a lot of time?