简体   繁体   English

用iPhone的jquery编写SMS

[英]Compose SMS with jquery for iphone app

Does anyone have a stable and tested way to create compose sms functionality using jquerymobile for ios 有没有人有稳定且经过测试的方法来使用jquerymobile for ios创建撰写短信功能

I have speny months working on this following plugin posts that are supposed to work to then find a raft of posts and fixes needed and still they do not work 我花了几个月的时间处理以下插件帖子,这些插件帖子应该可以正常工作,然后找到大量所需的帖子和修复程序,但仍然无法正常工作

For the record the many posts that recommend using a hyper link to open the compose sms screen DOES NOT WORK on IOS 7 为了记录下来,许多建议使用超链接打开撰写短信屏幕的帖子在IOS 7上不起作用

my app sends data to a web service which then builds the body of the SMS message based on paramaters sent to it from the web service and returns the value back to the page which i then need to attach to the compose sms button. 我的应用程序将数据发送到Web服务,然后Web服务根据从Web服务发送给它的参数来构建SMS消息的主体,并将该值返回到页面,然后我需要将其附加到撰写短信按钮。 When the user presses the button the compose sms screen opens and passes the values sent from the web service. 当用户按下按钮时,“撰写短信”屏幕将打开并传递从Web服务发送的值。

no matter what i try from the numerous plugins i have downloaded clicking the button does not open the composes sms screen 无论我从下载的众多插件中尝试什么,单击按钮都不会打开“撰写短信”屏幕

In frustration i have had an indian programmer create the functionality but it uses object-c and as the remainder of the site is written in jquery i do not know how to pass the jquery variable sent from the web service to the object c button 令人沮丧的是,我有一个印度程序员来创建该功能,但它使用的是object-c,而该网站的其余部分都是用jquery编写的,我不知道如何将从Web服务发送的jquery变量传递给对象c按钮。

Assistance is appreciated as i am so so tired having worked on this for months without success and non of the solutions i come across online work 感谢协助,因为我是如此累了几个月而没有成功,而且我在网上工作中也找不到解决方案

maybe you can try js-bridge call native MFMessageComposeViewController in javascript 也许您可以尝试在JavaScript中使用js-bridge调用本地MFMessageComposeViewController

iOS JavaScript bridge iOS JavaScript桥

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM