iCh*_*rag 1 iphone ios ios5 google-plus
我在iphone中使用Google Plus API成功发布了内容和(链接)网址.使用以下代码:
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];
Run Code Online (Sandbox Code Playgroud)
但我想发布图片到谷歌加.
谁能帮我?
提前致谢.
归档时间: |
|
查看次数: |
2970 次 |
最近记录: |