Facebook iOS SDK Dialog issue Text Input

守給你的承諾、 提交于 2020-01-04 02:27:07

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/6155828/facebook-ios-sdk-dialog-issue-text-input

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!