Image Sharing Using Google Plus in ios

后端 未结 6 1199
谎友^
谎友^ 2021-02-04 09:51

I want to share image on google plus:

I have used google+ api

AppDelegate.m

[GPPSignIn sharedInstance].clientID = @\"MyClientID\";
[GPPDeepLink s         


        
相关标签:
6条回答
  • 2021-02-04 10:02

    you are not assigning client_ id of GPPSignIn class. Try this code in your appdelegate

    [GPPSignIn sharedInstance].clientID = @"MY_CLIENT_ID";
    [GPPDeepLink setDelegate:self];
    [GPPDeepLink readDeepLinkAfterInstall];
    

    then try sharing link for implementing it in right way.

    0 讨论(0)
  • 2021-02-04 10:11

    I have also faced this issue, but finally i found the answer. As above some of friends said, I forgot Add the ObjC linker flag to the app target's build settingss:

    So, go to Build Settings page of Targets section of the app, once gone over there, add following in Other Linker Flags

    -ObjC

    So, this may be helps you Friend!!!

    0 讨论(0)
  • 2021-02-04 10:12

    It is because you dont have set the other linker Flag, Go to Build Setting and then Other Linker Flags: -ObjC

    0 讨论(0)
  • 2021-02-04 10:13

    open your build setting of target :

    build setting of target >goto linking section > Other linker flag Set other linker flag to : -ObjC

    make sure your character should be > -ObjC (matching case) .

    0 讨论(0)
  • 2021-02-04 10:16

    Amit Bhavsar say the correct. Go to Build Settings, Linking, set in Other Linker Flags, into debug and release, -ObjC. Check that you AppDelegate implement GPPDeepLinkDelegate and your views also.

    0 讨论(0)
  • 2021-02-04 10:18

    ObjC in other linker flags. And if already add -ObjC try to remove it and again add it. For the 1st time i just copy past -ObjC and it was not working but after removing and again adding it starts working.

    0 讨论(0)
提交回复
热议问题