I want to share image on google plus:
I have used google+ api
AppDelegate.m
[GPPSignIn sharedInstance].clientID = @"MyClientID";
[GPPDeepLink setDelegate:self];
[GPPDeepLink readDeepLinkAfterInstall];
and on button action
ViewController.m
id<GPPShareBuilder> shareBuilder = [[GPPShare sharedInstance] shareDialog];
[shareBuilder setURLToShare:[NSURL URLWithString:@"http://dummy.com"]];
[shareBuilder setTitle:@"Some title" description:@"Some description" thumbnailURL:[NSURL URLWithString:@"http://dummy.com/image"]];
[shareBuilder setContentDeepLinkID:@"MyclientID"];
[shareBuilder open];
but on click it crashes ans error shows:
-[__NSDictionaryM gtm_httpArgumentsString]: unrecognized selector sent to instance 0x1e887ea0'
it crashes on [shareBuilder open]
Live photos can be backed up if you use the Google Photos app on your iPhone or iPad.
You can share photos of specific people or share photos from a specific date onward. Photos will be shared automatically as they are backed up to your account. Face group filtering is not available in all countries.
It is because you dont have set the other linker Flag, Go to Build Setting and then Other Linker Flags: -ObjC
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With