0
我正在寻找一种方式在Facebook上分享我的应用程序的视频。 我将SDK安装到了Facebook并按照说明操作,但我不明白为什么我无法分享我的视频。iOS Facebook分享视频Swift
let fbVideo:FBSDKShareVideo = FBSDKShareVideo()
fbVideo.videoURL = url
let content: FBSDKShareVideoContent = FBSDKShareVideoContent()
content.video = fbVideo
FBSDKShareDialog.showFromViewController(self, withContent: content, delegate: self)
我有一个误差参数代表:
Cannot convert value of type 'ShareViewController' to expected argument type 'FBSDKSharingDelegate!'
请注意,我在我的课ShareViewController。
没有其他方法可以在Facebook上分享视频吗?谢谢
感谢您的回答。但是当我尝试实现模块FBSDKSharingDelegate时,我的课程表示她不符合。我没有(据我所知)类型为FBSDKSharingDelegate的对象 –