FBSDKSharing Callback not returning results

前端 未结 3 1878
春和景丽
春和景丽 2021-01-27 17:15

In my iOS app, I have a Facebook share button, which opens up a FBSDKShareDialog:

-(IBAction)post:(id)sender{

    FBSDKShareLinkContent *content = [[FBSDKShareL         


        
3条回答
  •  太阳男子
    2021-01-27 18:11

    Looks FB changed something on Delegate it when user share the delegate method will run with empty results, so if you are check something in this method to make sure that post posted correctly just remove it

    - (void)sharer:(id)sharer didCompleteWithResults:(NSDictionary *)results
    

    and when user cancel share this method will run

    - (void)sharerDidCancel:(id)sharer
    

提交回复
热议问题