status of 4 webViews in tabbarapplication
hy there,
i´m developing a small tabbar app with a webview on each tab, works very good an was not hard to code. (im a php developer, but a noob in objective-c)
now i want to add a "loading screen" (not via sleep and Default.png), so i added a startup view via code on loading of first tab,
and hide the loading view when all 4 webviews are loaded,...
what is the best practice to do this ?
i tried:
in the Startup Class i have set four variables, one for each view.
in each viewController the variable in the startup class, but whenever i set one variable the others are null,
the startup class "forget" that i have set the variable or so , is there any way to prevent this ? for example global vars ?!? i´ve googled a little bit but found nothing senseful .
have anyone a suggestion for this ?
|