ios如何用户取消Facebook登录? [英] ios how can user cancel facebook sign in?

查看:443
本文介绍了ios如何用户取消Facebook登录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户进入此屏幕时,无法取消该屏幕。我可以做什么?

When a user gets to this screen, there is no way to cancel out of it. What can I do?

要在我运行的第一个地方获取此视图:

To get this view in the first place I am running:

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               vid, @"link",
                               vid, @"source",
                               vid, @"picture",
                               @"My Place", @"name",
                               @"YouTube Presentation", @"caption",
                               title, @"description",
                               @"Enjoy this Video",  @"message",
                               nil];

[app.facebook dialog:@"stream.publish"
                   andParams:params
                 andDelegate:self];


推荐答案



要解决此问题,您必须:

This happens if your FBDialog.bundle is not part of your resources.

To fix this you have to:


  • 选择您的目标
  • 选择构建阶段

  • 在复制捆绑资源下,您需要点击小按钮

  • 选择添加其他...

  • c $ c> FBDialog.bundle 并将其添加到您的项目中。

  • click on your app in the Project navigor (the folder button - top left)
  • select your target
  • select Build Phases
  • Under "Copy Bundle Resources" you need to hit the little + button
  • select "Add Other..."
  • Find your FBDialog.bundle and add it to your project.

麻烦给我!

这篇关于ios如何用户取消Facebook登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆