Google plus share会在浏览器中打开链接

时间:2012-08-27 06:33:19

标签: iphone objective-c google-plus

我正在尝试实施一款iPhone应用,该应用具有在Google+上分享的功能。所以,当我点击分享按钮时,它会在safari中打开链接。相反,我希望它像Facebook弹出窗口一样。是否有可能实施它?

- (IBAction) didTapShare: (id)sender {

    share = [[[GooglePlusShare alloc] initWithClientID:kClientID] autorelease];
    /*   share.delegate = self; // optional
     appDelegate.share = share; //optional*/

    [[[[share shareDialog] setURLToShare:[NSURL URLWithString:@"URL_TO_SHARE"]] setPrefillText:descStr] open];

    [[share shareDialog] open];
}

这是我用于分享的代码。我查看了GooglePlusShare课程,我无法找到任何可能的内容。提前谢谢!

1 个答案:

答案 0 :(得分:0)

我认为,现在,这是在Google +上发布的首选方式 毕竟。在google plus..it上发布状态后,也会回到你的应用程序..

相关问题