0
[BGFacebookDelegateSingleton.singleton logoutFacebook];
BGLogin * login = [[BGLogin alloc]init];
UINavigationController * nav= self.navigationController;
[nav pushViewController:login animated:YES];
login.navigationItem.hidesBackButton=YES;//Button doesn't go out
PO(@(login.navigationItem.hidesBackButton)); //Confirm it's YES
while (false);

我想知道这可能有什么问题。它适用于其他地方但不适用于之后

[BGFacebookDelegateSingleton.singleton logoutFacebook];

[BGFacebookDelegateSingleton.singleton logoutFacebook]的内容;

只是:[FBSession.activeSession closeAndClearTokenInformation];

4

1 回答 1

4

尝试[self.navigationItem setHidesBackButton:YES];在登录名中写入viewDidLoad()

希望这可以帮助。

于 2013-03-21T13:13:55.603 回答