我在 iOS 上使用 FBConnect。 我尝试使用以下方法阻止登录弹出窗口: - (void)viewDidLoad {
permissions = [[NSArray arrayWithObjects:
@"read_stream", @"offline_access", @"user_events", nil] retain];
FBtryAppDelegate *delegate = (FBtryAppDelegate*) [[UIApplication sharedApplication] delegate];
facebook = delegate.facebook;
[facebook authorize:permissions delegate:self];
每次打开登录对话框时都会自动关闭,无需输入详细信息。
如果登录名已存在,我根本不希望出现该对话框。
我能做什么? 谢谢。
最佳答案
您应该首先存储访问 token 和到期日期。 然后,您可以检查 token 是否已保存。 请,refer to this SO post .
问候。
关于iphone - iOS FBConnent 登录弹出问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5213191/