gpt4 book ai didi

ios - 登出 ? - 解析和 Facebook SDK

转载 作者:行者123 更新时间:2023-11-28 19:08:57 25 4
gpt4 key购买 nike

看例子在

https://www.parse.com/tutorials/integrating-facebook-in-ios

我不知道如何注销最终用户。

// from the viewcontroller.h file.

// UINavigationBar button touch handler

- (void)logoutButtonTouchHandler:(id)sender;

// And apparently this line ->

(void)logoutButtonTouchHandler:(id)sender {

// Logout user, this automatically clears the cache [PFUser logOut];

// Return to login view controller. From the view controller.m file.

[self.navigationController popToRootViewControllerAnimated:YES]; }

这里只有一个小问题,注销按钮是如何生成的......因为它根本没有生成!

有人愿意为我阐明现实吗????

谢谢。

英里。

最佳答案

它是伪代码,是一个指南,供您填空。在这种情况下,空白是按钮本身,因为与注销相关的信息是 [PFUser logOut]; 代码,而不是您如何配置应用程序来调用该代码。

关于ios - 登出 ? - 解析和 Facebook SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17533307/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com