适用于iPhone应用的WhatsApp网址方案 [英] WhatsApp url scheme for iPhone app

查看:144
本文介绍了适用于iPhone应用的WhatsApp网址方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一款iPhone应用程序并计划整合Whatsapp。

We are developing an iPhone app and planning to integrate Whatsapp.

有没有办法从iPhone应用程序启用点击通话/消息? Skype允许这样做:

Is there a way to enable click to call / message from the iPhone app? Skype allows this by following:

<a href="skype:skypehandle?call"> Skype </a>

是否有相应的Whatsapp?

Is there an equivalent for Whatsapp ?

推荐答案

目前Whatsapp没有注册的URL方案。

currently Whatsapp doesn't have a registered URL scheme.

您可以通过检查内容来检查您喜欢的应用是否支持它们应用程序info.plist。

You can check if you favourite apps support them by inspecting the contents of the apps info.plist.

我确定有等效的Windows,但我使用的是mac,所以有一个名为iPhone Explorer的免费应用程序(现在改名为iExplorer)已安装将手机安装为驱动器,并允许您通过树结构查看应用程序内容。
不需要越狱。
info.plist位于所选应用程序appname.app文件夹中。
将此复制到您的桌面并打开该文件。
查找网址类型键并展开。这是添加时间://的URL将在safari中或使用UIApplication openURL方法打开。

I'm sure there are windows equivalents but I use a mac, so have a free app called iPhone Explorer (now renamed to iExplorer) installed which mounts the phone as a drive and allows you to view app contents via a tree structure. No jailbreak required. The info.plist is in the chosen apps appname.app folder. copy this to your desktop and open the file. Look for the 'URL types' key and expand. This is the URL that when :// is added will open in safari or with the UIApplication openURL method.

更新 - 2012年11月 - 最新版本现在添加了URL方案。

whatsapp://

update - November 2012 - latest version now adds URL scheme.
whatsapp://

不知道它是否有与之关联的动作。

don't know if it has any 'actions' associated with it though.

更新 - 2013年11月
Whatsapp博客有关于可以执行的操作的信息
http://www.whatsapp.com/faq/en/iphone/23559013

这篇关于适用于iPhone应用的WhatsApp网址方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆