Logical Question: How to make a LogOut on iPhone App?
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.
精彩评论