简体   繁体   English

未声明的标识符FBLinkShareParams

[英]undeclared identifier FBLinkShareParams

I dont know what is happening, but I cant use FBLinkShareParams. 我不知道发生了什么,但是我不能使用FBLinkShareParams。

I followed the tutorial, copied the facebooksdk.framework to my project, but this still happening. 我按照该教程进行操作,将facebooksdk.framework复制到了我的项目中,但是这种情况仍在发生。

Someone have an idea? 有人有主意吗? What can I do? 我能做什么?

Thanks and sorry my english. 谢谢,对不起我的英语。

Download https://github.com/facebook/facebook-ios-sdk project 下载https://github.com/facebook/facebook-ios-sdk项目

and run FBShareSample project from the extracted folder. 然后从解压缩的文件夹中运行FBShareSample项目。 I hope you can cross check from this project what is the issue on your side. 我希望您可以从该项目中交叉检查您所遇到的问题。 As you haven't shared any error information I cant help you more than this right now. 由于您尚未共享任何错误信息,因此我现在不能为您提供更多帮助。

您可能错过了:

#import <FacebookSDK/FacebookSDK.h>

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

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