开发者

Logical Question: How to make a LogOut on iPhone App?

开发者 https://www.devze.com 2023-03-31 23:09 出处:网络
I want to have a login / logout on my iPhone App. I have a AppDelegate which routes byTTNavigator to my MainView.

I want to have a login / logout on my iPhone App.

I have a AppDelegate which routes by TTNavigator to my MainView.

My MainView shows a the LoginView with presentModalViewController.

Know my question is开发者_运维问答, how to do a logout? Simply show the LoginView again?


What i'd do is destroy any credentials you may have stored in Memory or in a Dictionary/Keychain and also close any pending sessions. Then you can just show the LoginView again.

0

精彩评论

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