ios - 如何使用 Parse Swift iOS 8 Xcode 6.4 注销

标签 ios iphone xcode swift parse-platform

如何使用 Parse Swift iOS 8 Xcode 6.4 注销?

这是一个屏幕截图。

我需要为我的按钮添加操作,以便我可以使用 Parse 注销。

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

请帮忙。

谢谢,

杰米·马蒂森

最佳答案

退出后需要出示LoginView Controller或注册

PFUSer.logout()
let Login = storyboard.instantiateViewControllerWithIdentifier("someViewController") as! UIViewController
self.presentViewController(Login, animated: true, completion: nil)

关于ios - 如何使用 Parse Swift iOS 8 Xcode 6.4 注销,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31653420/

相关文章:

ios - Alamofire objectmapper 的 Xcode 10 更新问题

ios - 截图在模拟器中有效,但在真实设备上失败

ios - 来自 XCODE 6 GM 的 symbolicatecrash

ios - Xcode 9 + Cocoapods : 'No such module' even though I can use the module

ios - Braintree iOS SDK 与 Card I/O iOS SDK 冲突 : duplicate symbols for architecture armv7

android - 从纬度/经度参数获取位置

css - 您可以使用 iPhone SDK 查看网站吗?不同的用户代理字符串会影响 Safari CSS 渲染吗?

iphone - UITableView 部分标题 iOS 5

iphone - iOS 4.2后updatedTransactions回调失败

ios - UILabel 中字符的坐标