iphone - How to do logout with Parse Swift iOS 8 Xcode 6.4 -


how log out parse swift ios 8 xcode 6.4?

here's screenshot.

i need add action button can log out parse.

http://i.gyazo.com/905df0a5f4bf29e7dd1a2b44e0c35865.png

please help.

thanks,

jamie mathieson

after log out need present loginview controller or sign

pfuser.logout() let login = storyboard.instantiateviewcontrollerwithidentifier("someviewcontroller") as! uiviewcontroller self.presentviewcontroller(login, animated: true, completion: nil) 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -