[英]Using twilio sdk for an iOS app?
I am planing to develop an VoIP iOS app and use Twilios SDK. 我打算开发VoIP iOS应用程序并使用Twilios SDK。 I am making the choice to either use LiveCode, Appery.io, PhoneGap or build a native Objective C app.
我正在选择使用LiveCode,Appery.io,PhoneGap或构建本机Objective C应用程序。 I am going to build the app for iOS, Android and HTML5 so the ideal would be to develope in JavaScript for all platforms, but as I understand the support for WebRTC is laking on the iPhone so the alternative for iOS is the native twilio SDK .
我将针对iOS,Android和HTML5构建该应用程序,因此理想的情况是在所有平台上使用JavaScript进行开发,但是据我了解,WebRTC的支持已在iPhone上脱颖而出,因此iOS的替代方法是本机twilio SDK 。
My requirements is: 我的要求是:
I have seen several Twilio projects that use PhoneGap but none that are using LiveCode. 我见过几个使用PhoneGap的Twilio项目,但没有一个使用LiveCode。
I have already built an iOS VoIP app in Objective C, but I want to be able to release it on several platforms also such as for Android and build a HTML5 app, without redoing everything. 我已经在Objective C中构建了一个iOS VoIP应用程序,但是我希望能够在多个平台(例如Android)上发布它,并构建HTML5应用程序,而无需重做所有事情。
This isn't really a programming question and should perhaps not be asked here. 这实际上不是编程问题,也许在这里不应该问。
You can create an external for LiveCode and quickly create an interface using the LiveCode IDE. 您可以为LiveCode创建外部组件,并使用LiveCode IDE快速创建接口。 This is probably a quick and easy way to make a working app.
这可能是制作工作应用程序的快速简便的方法。 If you're starting with LiveCode but are experienced in Objective-C, creating an external won't be a problem for you.
如果您从LiveCode开始,但是对Objective-C很有经验,那么创建外部组件对您来说就不是问题。
LiveCode doesn't contain native iOS controls, which means that you have to emulate the GUI. LiveCode不包含本地iOS控件,这意味着您必须模拟GUI。 If you use PhoneGap, you also will need to compile a plugin for PhoneGap using Objective-C, but you can use a framework, such as JQuery, to get the right GUI.
如果使用PhoneGap,则还需要使用Objective-C编译PhoneGap的插件,但是可以使用诸如JQuery之类的框架来获取正确的GUI。
Either way, you will have to compile the SDK and you'll need to be quite profound in Objective-C. 无论哪种方式,您都必须编译SDK,并且您需要在Objective-C中具有丰富的经验。
LiveCode will meet all your requirements. LiveCode将满足您的所有要求。 However, Apple will deny your app if you use PayPal for in-app purchases.
但是,如果您使用PayPal进行应用内购买,Apple会拒绝您的应用。 You'll have to use Apple's in-app purchasing feature.
您必须使用Apple的应用程序内购买功能。 I believe this is possible in LiveCode now.
我相信现在可以在LiveCode中实现。 I'm not sure how easy it is.
我不确定这有多容易。
I'm not sure about file listings either. 我也不确定文件列表。 On iOS, you won't have complete access to all files on the phone.
在iOS上,您将无法完全访问手机上的所有文件。 This isn't a LiveCode limation but a limitation of the OS.
这不是LiveCode的限制,而是操作系统的限制。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.