ios - Three20: loadView and viewDidLoad not called when restoring through TTNavigator -
ios - Three20: loadView and viewDidLoad not called when restoring through TTNavigator -
when using the three20 framework have problem way how ttnavigator seems work. if in applicationdidfinishlaunching restore previous state of app with:
ttnavigator* navigator = [ttnavigator navigator]; navigator.persistencemode = ttnavigatorpersistencemodeall; navigator.window = self.window; [navigator restoreviewcontrollers]; the methods loadview , viewdidload of viewcontroller restored never called. how can so?
is bug or design?
if it's design, fix. problem want viewcontroller load nib. i've seen other workarounds, ugly , have outside component (like app delegate instead of view controller itself) load nib, avoid. illustration of ugly workarounds given in ttnibdemo illustration ships three20 source code.
it depends in way calling viewcontroller, seek in viewwillappear, should work.
ios uikit three20
Comments
Post a Comment