简体   繁体   English

键盘没有出现,facebook sdk

[英]keyboard does not appear, facebook sdk

i am having a problem, i want to call the facebook sdk, so i can post from my app. 我有问题,我想打电话给facebook sdk,所以我可以从我的应用程序发帖。 When I was calling the dialog for the login from a pushed view it was ok, but now i am showing a view using presentModalViewController and from that view i want to call the facebook login dialog. 当我从推送视图调用登录对话框时它没关系,但现在我正在使用presentModalViewController显示视图,并且从该视图我想调用facebook登录对话框。 but now the keyboard does not appear. 但现在键盘没有出现。 i didn't change anything just the way i present the view. 我没有改变任何东西只是我呈现视图的方式。 do you have an idea what can be happening ? 你知道会发生什么吗?

I am using splitview controller, from the detail view (that is modaly presented) i call the facebook sdk what should be wrong ? 我正在使用splitview控制器,从详细视图(即modaly呈现)我称之为facebook sdk应该是什么错误?

在你的应用程序委托的函数didFinishLaunchingWithOptions添加以下代码

[self.window makeKeyAndVisible]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM