Facebook iOS SDK对话框问题文本输入 [英] Facebook iOS SDK Dialog issue Text Input
问题描述
我正在构建一个Facebook应用程序,调用Facebook对话框以允许用户分享一个帖子。
I'm building a Facebook app that calls a Facebook dialog box to allow users to share a post.
使用Facebook文档,调用facebook对象:
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?
推荐答案
你有没有想过如何解决这个问题?我看到同样的事情。我正在使用除了SDK SDK之外的三十框架 - 也许这与它有关系?
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?
更新:
我想到了我看到的问题,希望这将有助于您。
I figured out the issue I was seeing, and hopefully this will help you.
问题是我没有在应用程序中调用[self.window makeKeyAndVisible]:didFinishLaunchingWithOptions :.一旦我添加了该键盘,键盘开始出现在FBDialog中。看看这篇文章:在UIWebView中点击文本框时键盘不出现
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
这篇关于Facebook iOS SDK对话框问题文本输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!