我需要在 google plus 上分享照片:
我做的事情是:
AppDelegate.m
static NSString * const kClientId = @"MyClient ID";
[GPPSignIn sharedInstance].clientID = kClientId;
点击按钮
- (IBAction)SharePressed:(id)sender {
id<GPPShareBuilder> shareBuilder = [[GPPShare sharedInstance] shareDialog];
// This line will manually fill out the title, description, and thumbnail of the
// item you're sharing.
[shareBuilder setTitle:@"Try Sharing g+" description:@"demo" thumbnailURL:[NSURL URLWithString:@"http://UrlForShaingPhoto/asd/imagename.jpg"]];
[shareBuilder open];
但是在点击它显示我
[lvl=3] -[GPPShareBuilderImpl getURL] Content deep-link ID is required with title and description.
什么也没有发生