简体   繁体   English

在Sharekit2.0中自定义到Facebook的帖子

[英]Customizing the post to facebook in Sharekit2.0

I have integrated the latest sharekit code into my project. 我已经将最新的sharekit代码集成到我的项目中。 I am able to click in, to go to the facebook and able to see the text I am going to post. 我可以单击进入Facebook,然后看到要发布的文本。

I would like to change two things. 我想改变两件事。

Firstly, I am not able to see the cancel or post button because of my app picture at top. 首先,由于我的应用程序图片位于顶部,因此我看不到“取消”或“发布”按钮。 So I would like to set the view to be scrollable. 所以我想将视图设置为可滚动。 How do I change that? 我该如何改变?

Secondly, I would like to remove the keyboard after I press return, or I want a way to remove the keyboard. 其次,我想在按回车键后删除键盘,或者我想要一种删除键盘的方法。

Thirdly, when i click the text edit, it gives me Error: HTTP status code: 404. How to solve this? 第三,当我单击文本编辑时,它给我错误:HTTP状态码:404。如何解决此问题?

Need some help on this..Thanks.. 需要一些帮助。。谢谢。

如果您使用以下代码,它将解散键盘。

[self.view Endediting:YES];
[yourtextview resignFirstResponder];

this will remove the keyboard 这将删除键盘

Or as a general case, you can use this: [self.view Endediting:YES]; 或者通常,您可以使用以下方法: [self.view Endediting:YES];

ShareKit never seemed to be customizable. ShareKit似乎从来都不是可定制的。 Personally, I had displeasure to integrate it into the project to post images to Flickr and Twitter, but nothing else. 就个人而言,我不满意将其集成到项目中以将图像发布到Flickr和Twitter,但是没有其他事情。 For what I see there now, ShareKit is still using old FacebookSDK (or at least it look so). 对于我现在看到的内容,ShareKit仍在使用旧的FacebookSDK(或者至少看起来如此)。 For better customization, I'd suggest to throw away Facebook from your ShareKit and just use new FacebookSDK. 为了更好地进行自定义,我建议您将Facebook从您的ShareKit中丢弃,而仅使用新的FacebookSDK。

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

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