您现在的位置是:首页 > 电脑 > 

谷歌+ iphone应用程序URL方案(mgc://)是否支持任何参数?(Does the google+ iphone app url scheme (mgc://) support any parameters?)

2025-07-18 06:40:43
谷歌+ iphone应用程序URL方案(mgc://)是否支持任何参数?(Does the google+ iphone app url scheme (mgc://) support any parameters?) 我希望能够启动谷歌+ iPhone应用程序,并告诉它进入“撰写”模式,并为其提供一些默认的消息文本。 我可以使用mgc:// url方案启动它并
谷歌+ iphone应用程序URL方案(mgc://)是否支持任何参数?(Does the google+ iphone app url scheme (mgc://) support any parameters?)

我希望能够启动谷歌+ iPhone应用程序,并告诉它进入“撰写”模式,并为其提供一些默认的消息文本。 我可以使用mgc:// url方案启动它并尝试了一堆url格式但除了启动之外无法做任何事情。 有没有到任何东西?

I'd like to be able to launch the google+ iphone app and tell it to go into "compose" mode and supply it with some default text for the message. I can get it to launch using the mgc:// url scheme and have tried a bunch of url formats but can't get it to do anything but launch. Has anyone found anything?

最满意答案

这是一个旧的! Priyanka - 没有办法转到应用程序 ,但有一个使用浏览器的iOS共享库,但为您提供了大量的控制:developers./+/mobile/ios/share

看一看:

- (IBAction) didTapShare: (id)sender { id<GPPShareBuilder> shareBuilder = [[GPPShare sharedInstance] shareDialog]; // This line will fill out the title, description, and thumbnail of the item // you're sharing based on the URL you included. [shareBuilder setURLToShare:[SURL URLWithString:@"https:///restaurant/sf/124567/"]]; [shareBuilder setPrefillText:@"I made reservati!"] [shareBuilder open]; }

你也可以打电话打开Goog​​le+应用,但你不能传递文字填写 - 你可以通过使用gplus来做一个URL:在你的UIApplication openURL调用而不是http:。 例如在Mobile Safari中尝试:

gplus://plus./share?url=http://developers./plus

This is an old one! Priyanka - there is no way of going to the app, but there is a sharing lib for iOS that uses the browser, but gives you a good amount of control: developers./+/mobile/ios/share

Take a look:

- (IBAction) didTapShare: (id)sender { id<GPPShareBuilder> shareBuilder = [[GPPShare sharedInstance] shareDialog]; // This line will fill out the title, description, and thumbnail of the item // you're sharing based on the URL you included. [shareBuilder setURLToShare:[SURL URLWithString:@"https:///restaurant/sf/124567/"]]; [shareBuilder setPrefillText:@"I made reservati!"] [shareBuilder open]; }

You can also call out to open the Google+ app up, but you can't pass text to fill - you can do a URL though, by using gplus: in your UIApplication openURL call rather than http:. E.g. in Mobile Safari try:

gplus://plus./share?url=http://developers./plus

#感谢您对电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格的认可,转载请说明来源于"电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格

本文地址:http://www.dnpztj.cn/diannao/697364.html

相关标签:无
上传时间: 2023-08-27 09:45:33
留言与评论(共有 12 条评论)
本站网友 试管婴儿成功率
30分钟前 发表
谷歌+ iphone应用程序URL方案(mgc://)是否支持任何参数?(Does the google+ iphone app url scheme (mgc
本站网友 郑州美术培训班
28分钟前 发表
by using gplus
本站网友 左旋肉碱官网
13分钟前 发表
//plus./share?url=http
本站网友 无锡百佳妇产医院
22分钟前 发表
but you can't pass text to fill - you can do a URL though
本站网友 开黑是什么意思
20分钟前 发表
但有一个使用浏览器的iOS共享库
本站网友 牟平二手房出售
26分钟前 发表
但有一个使用浏览器的iOS共享库
本站网友 婴儿30天黄疸值对照表
25分钟前 发表
@"https
本站网友 郑柔美图片
20分钟前 发表
in your UIApplication openURL call rather than http
本站网友 鄂州房地产
26分钟前 发表
但你不能传递文字填写 - 你可以通过使用gplus来做一个URL:在你的UIApplication openURL调用而不是http:
本站网友 格列卫价格
9分钟前 发表
例如在Mobile Safari中尝试: gplus
本站网友 连翘败毒膏
5分钟前 发表
并告诉它进入“撰写”模式