【发布时间】:2014-11-28 19:55:00
【问题描述】:
我在 iphone 中使用 Google Plus API 成功发布了内容和(链接)URL。 使用以下代码:
googleShare =[[[GooglePlusShare alloc] initWithClientID:@"my key"] autorelease];
[googleShare setDelegate:self];
appDelegate.shareGOOGLe =googleShare;
NSString *inputURL = @"";
NSURL *urlToShare = [inputURL length] ? [NSURL URLWithString:inputURL] : nil;
NSLog(@"%@",urlToShare);
NSString *inputText = @"TEst Sharing testing from iOS 5.0";
NSString *text = [inputText length] ? inputText : nil;
NSLog(@"%@",text);
[[[[googleShare shareDialog]
setURLToShare:urlToShare]
setPrefillText:shareMessge] open];
但我想将图片发布到 google plus。
谁能帮帮我?
提前致谢。
【问题讨论】:
-
你尝试了什么?
-
什么是降低这个问题的理由??
-
你能具体说明你真正想要做什么吗?我认为您在 Google 上的浏览不正确
-
人们白天有事情要做,并且会希望将他们的业余时间明智地花在正确的问题上。如果您想将图像发布到 Google Plus,请在 Google 上查找指针。如果您没有找到任何东西或只找到部分答案,请在 StackOverflow 上寻求澄清。 GiveMeTheCodez 未开启。
-
@Prypiat 如果有人在谷歌上找不到任何东西并发布问题怎么办?我认为上述问题非常有效。他需要一些指导而不是代码。顺便说一句,Chirag Shah 回答了对我和其他人有帮助的问题。
标签: iphone ios ios5 google-plus