How to instantiate a particular view controller with storyboard in iOS at early stage of loading?
Posted
by
dmirkitanov
on Stack Overflow
See other posts from Stack Overflow
or by dmirkitanov
Published on 2012-06-02T15:52:56Z
Indexed on
2012/06/02
16:40 UTC
Read the original article
Hit count: 163
When using tabs with storyboard in iOS 5, some of them may take quite a long time to initialize when switching to it (for example, a tab containing GLKViewController).
This happens because an amount of work in viewDidLoad method in this controller could be very big.
Is there a way to initialize particular view controller (and call it's viewDidLoad method) defined in the storyboard at early stage - when an application starts? Having done this, the delay should be eliminated.
© Stack Overflow or respective owner