0
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注销],但也需要调用按钮操作来引用它。 – MagicMiles