使用Abid打开WhatsApp对话不起作用 [英] Open WhatsApp conversation using Abid doesn't work
本文介绍了使用Abid打开WhatsApp对话不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正尝试打开与特定联系人的whatsapp对话/聊天. 无需打开所需的聊天,它只会打开应用程序. 不知道怎么了:
I'm trying to open whatsapp conversation/chat for particular contact. Instead of opening the desired chat it only opens the app. No idea whats wrong :
let URLString = "whatsapp://send?abid=\(ID);text=lOL;"
UIApplication.sharedApplication().openURL(NSURL(string: URLString)!)
URLString值:whatsapp://send?abid=414;text=lOL
URLString value : whatsapp://send?abid=414;text=lOL
有什么建议吗?
推荐答案
像这样更新您的URL
:
whatsapp://send?abid=\(ID)&text=lOL
来源来自 查看全文