Crosswalk Project for iOS

原文访问太慢,转载到这里方便访问。

Crosswalk Project for iOS

Introduction

The Crosswalk Project for iOS provides a web runtime for sophisticated iOS native and hybrid applications.

  • Extended WKWebView

    The Crosswalk Project for iOS is built on top of WKWebView, the modern WebKit framework that debuted in iOS 8. We extend the WKWebView with the Crosswalk extension framework. For detailed information, refer to Embedding Mode & Native APIs.

  • Crosswalk Extension Framework

    Extensions allow you to extend the ability of the Crosswalk runtime. You create your feature using Swift or Objective-C and expose it as a JavaScript function or object. The JavaScript stub code can be generated automatically based on the native interface. For more information, refer to Extensions.

  • Cordova Plugins Support

    To leverage existing Cordova plugins, a Cordova extension is provided to simulate the Cordova environment. Simply place the source files of the Cordova plugins into your project and register the plugin classes in the manifest. For more information, refer to Cordova plugin support.

System Requirements

Host development system:

Target system:

  • iOS 8+

Quickstart

Follow the Quick Start Guide to setup a simple XWalkView based application from scratch.

Demos

The following 3 demos are available:

  • Sample

    A simple app that shows how to embed a XWalkView, implement Crosswalk Extensions, and configuring the extensions and application.

  • CordovaPluginDeviceDemo

    An example that shows how to integrate a Cordova Plugin with the Crosswalk Cordova Extension support, and usage of the apache.cordova.device plugin.

  • CordovaPluginFileDemo

    Another Cordova Plugin demo, imported from https://github.com/Icenium/sample-file.git, that demostrates the usage of the apache.cordova.file plugin.

NOTE: Try the demos after the project’s submodules get initialized, using:

> git submodule update --init --recursive

Licence

The Crosswalk Project for iOS is available under the BSD license.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值