开发者

Refresh or reload uitabbar and my whole application in iphone when user logout

I have login and logout feature in my application. when user logout then i switch user from my home screen to logout screen. but when i login a user with different account then previous user information displays for some seconds because i have timer in my application when timer execute then user information would update. I feel this issue is due to tabbarcontroller which is loading from .Xib file and it is not reloading when user login again. I want to refresh a开发者_如何学Cnd reload my whole application when user logout and login again. I have already release tabbarcontroller but it is not effecting on this situation. Please if any one has any suggestion and solution then help me.

Regards, Shumais-ul-haq


Don't use a timer, you don't need it. Clear out any data so that when viewDidLoad is called there's nothing there (clear textfields, labels, etc.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜