Facebook iOS SDK 对话框文本输入问题
我正在构建一个 Facebook 应用程序,该应用程序调用 Facebook 对话框以允许用户共享帖子。
使用 facebook 文档,调用 facebook 对象:
[appDelegate.facebook dialog:@"feed" andDelegate:self];
打开我需要的对话框。但是,用于用户输入的键盘不会弹出,我所能做的就是在墙上张贴空白帖子。还有其他人遇到过这种情况吗?
I'm building a Facebook app that calls a Facebook dialog box to allow users to share a post.
Using the facebook documentation, a call to the facebook object:
[appDelegate.facebook dialog:@"feed" andDelegate:self];
opens the dialog box I need. However, the keyboard for user input doesn't popup, and all I can do is post a blank post up on my wall. Has anyone else encountered this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否想过如何解决这个问题?我也看到同样的事情。除了 Facebook SDK 之外,我还使用 Three20 框架 - 也许这与它有关?
更新:
我发现了我所看到的问题,希望这会对您有所帮助。
问题是我没有在 application:didFinishLaunchingWithOptions: 中调用 [self.window makeKeyAndVisible] 。一旦我添加了该调用,键盘就开始出现在 FBDialog 中。查看这篇文章: 在 UIWebView 中点击文本框时键盘不出现
Did you ever figure out how to resolve this issue? I'm seeing the same thing. I'm using the three20 framework in addition to the Facebook SDK - maybe that has something to do with it?
Update:
I figured out the issue I was seeing, and hopefully this will help you.
The problem was that I didn't call [self.window makeKeyAndVisible] in application:didFinishLaunchingWithOptions:. Once I added that call the keyboard started appearing in the FBDialog. Check out this post: Keyboard not Appearing when Tapping Text Box in UIWebView