# Ionic（移动应用框架）

**Ionic** 是一个开源应用开发工具包，用于以 HTML、CSS 和 [JavaScript](https://www.edgepedia.org/zh/javascript) 从单一代码库构建跨平台的原生 iOS、Android 应用及渐进式 Web 应用。其 UI 组件以 Web 组件形式构建，应用通过 [Capacitor](https://www.edgepedia.org/zh/capacitor)（或 Cordova）原生运行时调用设备原生功能；同一份代码也可作为渐进式 Web 应用在浏览器中运行。<sup>[1](https://github.com/ionic-team/ionic-framework)</sup><sup> • </sup><sup>[2](https://ionicframework.com/docs)</sup> 该框架以 MIT 许可证分发。<sup>[3](https://github.com/ionic-team/ionic-framework/blob/main/LICENSE)</sup>

| 关键事实 | 详情 |
|---|---|
| 首次发布 | 由 Drifty 公司（2012 年由 Ben Sperry 与 Max Lynch 创立）于 2013 年宣布，Beta 版计划于 2013 年 10 月下旬推出<sup>[4](https://ionic.io/blog/announcing-ionic)</sup><sup> • </sup><sup>[5](https://techcrunch.com/2014/03/10/drifty-makers-of-the-ionic-mobile-framework-raise-1-million/)</sup> |
| 许可证 | MIT，版权 2015 年至今归 Drifty Co.<sup>[3](https://github.com/ionic-team/ionic-framework/blob/main/LICENSE)</sup> |
| 架构 | 以 Stencil 编译器构建的 Web 组件；为 Angular、React 和 Vue 提供官方集成<sup>[2](https://ionicframework.com/docs)</sup> |
| 原生访问 | Capacitor 或 Cordova 提供对相机、GPS、加速度计等原生 SDK 的访问<sup>[6](https://ionicframework.com/docs/core-concepts/fundamentals)</sup> |
| 当前版本 | Ionic Framework 9.0.0 于 2026-08-19 发布，支持 React Router 6、Vue Router 5，以及 Angular 18 至 22<sup>[7](https://ionic.io/blog/announcing-ionic-framework-9)</sup><sup> • </sup><sup>[8](https://github.com/ionic-team/ionic-framework/releases)</sup> |
| 所有权 | 被 OutSystems 收购，2022 年 11 月 7 日宣布<sup>[9](https://ionic.io/blog/ionic-outsystems-the-future-of-enterprise-app-development)</sup> |
| 商业产品 | Appflow、Identity Vault、Portals 及其他付费产品于 2025 年 2 月 11 日停止向新客户销售；Appflow 的访问权限持续至 2027 年 12 月 31 日<sup>[10](https://ionic.io/blog/important-announcement-the-future-of-ionics-commercial-products)</sup> |

## 历史

该框架脱胎于 Drifty——一家位于[威斯康星州麦迪逊](https://www.edgepedia.org/zh/madison-wisconsin)的初创公司，由儿时好友 Ben Sperry（首席执行官）和 Max Lynch（首席技术官）于 2012 年创立，二人此前曾在开发移动 MMORPG 游戏的初创公司工作。Drifty 的早期产品 Codiqa 和 Jetstrap 提供拖拽式原型设计工具，使用者超过 25 万名开发者，公司于 2013 年自力更生实现盈利。<sup>[5](https://techcrunch.com/2014/03/10/drifty-makers-of-the-ionic-mobile-framework-raise-1-million/)</sup> 创始使命是帮助 Web 开发者运用已有技能交付移动体验，并选择开源作为触达最多开发者的途径。<sup>[10](https://ionic.io/blog/important-announcement-the-future-of-ionics-commercial-products)</sup>

**融资。** 2014 年 3 月，Drifty 完成由 [Arthur Ventures](https://www.edgepedia.org/zh/arthur-ventures) 投资的 100 万美元种子轮融资，用于扩充团队并继续开发 Ionic。<sup>[5](https://techcrunch.com/2014/03/10/drifty-makers-of-the-ionic-mobile-framework-raise-1-million/)</sup> 2015 年 3 月又完成 260 万美元融资，Founder Collective 与 Arthur Ventures 共同参与；彼时 Ionic SDK 的月安装量已超过 10 万次，公司计划以免费增值服务作为收入模式。<sup>[11](https://techcrunch.com/2015/03/30/drifty-grabs-2-6-million-to-turn-web-developers-into-mobile-app-makers/)</sup>

**第 4 版与 Web 组件。** 早期版本与 [AngularJS](https://www.edgepedia.org/zh/angularjs) 及后来的 Angular 紧密耦合。4.x 版将框架重构为独立的 Web 组件库，取消了对单一宿主框架的硬性要求；核心组件可通过一个 script 标签在普通网页中运行，并为 Angular（`@ionic/angular`）、React（`@ionic/react`）和 Vue 3（`@ionic/vue`）提供官方包。<sup>[2](https://ionicframework.com/docs)</sup> 每个组件都用 Stencil 构建——这是 Ionic 自研的 Web 组件编译器，团队称其带来了加载与渲染性能的提升，例如改善了 Angular 应用的首屏有意义绘制时间。<sup>[12](https://ionic.io/blog/introducing-ionic-4-ionic-for-everyone)</sup>

## 架构

Ionic Framework 是一个预构建 UI 组件库，采用 Web 标准编写，包括自定义元素和[影子 DOM](https://www.edgepedia.org/zh/shadow-dom)，并用 CSS 自定义属性设置样式，以便开发者覆盖默认调色板和主题。<sup>[2](https://ionicframework.com/docs)</sup><sup> • </sup><sup>[6](https://ionicframework.com/docs/core-concepts/fundamentals)</sup> 一项名为自适应样式的内置功能让同一份代码库匹配各平台的设计惯例：Apple 设备获得 Apple 的 iOS 设计语言，Android 设备获得 [Material Design](https://www.edgepedia.org/zh/material-design)。<sup>[6](https://ionicframework.com/docs/core-concepts/fundamentals)</sup>

由于组件是 Web 组件，在组件影子根内发出的事件会被重定向到宿主元素；因此 Ionic 给自己的事件加上 `ion` 前缀，以避免与 `click` 等标准 DOM 事件冲突。<sup>[6](https://ionicframework.com/docs/core-concepts/fundamentals)</sup> 对加速度计、相机和 GPS 等设备原生功能的访问由 Capacitor 或 Cordova 提供，它们将 Web 应用包裹在可访问原生 SDK 的原生外壳中。<sup>[6](https://ionicframework.com/docs/core-concepts/fundamentals)</sup>

## 性能

Ionic 应用在平台 WebView（iOS 上为 WKWebView，Android 上为系统 WebView）中渲染，该 WebView 与原生应用是分离的进程，调用原生功能需要跨进程通信。<sup>[13](https://www.johal.in/comparison-flutter-vs-react-native-080-vs-ionic)</sup><sup> • </sup><sup>[20](https://ionicframework.jp/docs/v8/core-concepts/webview/)</sup> 这一 Web 层是该框架特有的取舍：它适合典型的业务应用功能，而 3D 游戏或增强现实等需要持续直接与 GPU 通信的图形密集型工作则会出现掉帧。<sup>[14](https://www.altexsoft.com/blog/the-good-and-the-bad-of-ionic-mobile-development/)</sup><sup> • </sup><sup>[15](https://ripenapps.com/blog/why-choose-ionic-framework-for-hybrid-app-development/)</sup>

实测结果因基准测试和测量对象而异。在 2025 年的一项对比中，Ionic 8 在 iOS 上以 24 FPS、在 Android 上以 22 FPS 渲染一个 1000 项的列表，比 Flutter 4 慢约 5 倍，冷启动时间 iOS 为 412 毫秒、Android 为 437 毫秒，空闲内存 iOS 为 112 MB、Android 为 124 MB；同一对比还发现，对于复用现有 Web 代码的团队，Ionic 的构建时间比 Flutter 快 42%。<sup>[13](https://www.johal.in/comparison-flutter-vs-react-native-080-vs-ionic)</sup> 而 Ionic 自己发布的一项与 [React Native](https://www.edgepedia.org/zh/react-native) 的对比在 CPU 占用上得出相反方向的结论：滚动列表时，React Native 应用的 CPU 占用峰值接近 200%，而 Ionic 应用约为 10%，作者将此归因于 Ionic 能够使用 WKWebView 内速度更快、采用 JIT 编译的 JavaScript 引擎。<sup>[16](https://ionic.io/blog/ionic-vs-react-native-performance-comparison)</sup>

一项关于跨平台框架的同行评审实证研究发现，在加速度计任务的 CPU 占用上，Ionic 的基准测试结果与原生实现统计上无法区分；但在加速度计任务的 ComputedRAM 上，Ionic 与原生存在显著差异，其最大值为原生的三倍；在通讯录任务上，Ionic 在所有指标上均为最高值。<sup>[17](https://link.springer.com/article/10.1007/s10664-020-09827-6)</sup>

## 商业产品与 OutSystems 时代

为资助开源使命，Ionic 建立了一条商业产品线：Ionic Cloud 最初设想为移动后端即服务，后演变为面向移动 DevOps（构建、部署、发布和实时更新应用）的 Ionic Appflow；随后推出企业安全产品，包括 Identity Vault、Auth Connect 和 Secure Storage；Ionic Portals 则将移动微前端引入原生应用开发。<sup>[10](https://ionic.io/blog/important-announcement-the-future-of-ionics-commercial-products)</sup>

2022 年 11 月 7 日，Ionic 宣布加入企业低代码应用平台公司 [OutSystems](https://www.edgepedia.org/zh/outsystems)，后者承诺对 Ionic 平台进行重大投资，并大幅增加产品工程与研发投入。<sup>[9](https://ionic.io/blog/ionic-outsystems-the-future-of-enterprise-app-development)</sup> Forrester 分析师 Andrew Cornwall、John Bratincevic 和 Christopher Condo 当时指出，OutSystems 已掌控 Ionic 的路线图，并预测其重心将长期转向商业客户，同时认为在已有开源贡献之后再更改许可证会很困难。<sup>[18](https://www.forrester.com/blogs/outsystems-buys-ionic-what-it-means/)</sup>

**商业产品线的终止。** 2025 年 2 月 11 日，Ionic 宣布停止所有商业产品与服务（包括 Appflow、Identity Vault 和 Portals）的新客户销售，并将启动为期数年的维护与支持终止流程。Appflow 用户可继续访问至 2027 年 12 月 31 日，企业客户则获得了继续使用及自行维护商业许可软件的方案。同一公告重申，Ionic Framework 和 Capacitor 仍保持免费开源，因为它们构成了 OutSystems 移动技术栈的重要部分。<sup>[10](https://ionic.io/blog/important-announcement-the-future-of-ionics-commercial-products)</sup>

## 采用情况

据该公司称，在最初的十年里，开发者向公共应用商店发布了数十万个 Ionic 应用。已发布的案例研究包括迪士尼的游客交通应用、[Breeze Airways](https://www.edgepedia.org/zh/breeze-airways) 采用实时更新的跨设备航空应用、英国国家医疗服务体系的员工参与应用，以及 BBC Children's Games 借助 Capacitor 从单一代码库在 iOS、Android 和 Web 上交付游戏体验。<sup>[9](https://ionic.io/blog/ionic-outsystems-the-future-of-enterprise-app-development)</sup><sup> • </sup><sup>[19](https://ionic.io/resources/case-studies)</sup>

## References

1. [ionic-team/ionic-framework on GitHub](https://github.com/ionic-team/ionic-framework)
2. [Ionic Framework Documentation: Overview](https://ionicframework.com/docs)
3. [ionic-framework LICENSE (MIT)](https://github.com/ionic-team/ionic-framework/blob/main/LICENSE)
4. [Announcing The Ionic Framework, Ionic Blog (2013)](https://ionic.io/blog/announcing-ionic)
5. [Drifty, Makers Of The Ionic Mobile Framework, Raise $1 Million, TechCrunch (March 10, 2014)](https://techcrunch.com/2014/03/10/drifty-makers-of-the-ionic-mobile-framework-raise-1-million/)
6. [App Development Core Concepts and Tools, Ionic Framework docs](https://ionicframework.com/docs/core-concepts/fundamentals)
7. [Announcing Ionic Framework 9, Ionic Blog](https://ionic.io/blog/announcing-ionic-framework-9)
8. [Releases, ionic-team/ionic-framework on GitHub](https://github.com/ionic-team/ionic-framework/releases)
9. [Ionic + OutSystems: The Future of Enterprise App Development, Ionic Blog (November 7, 2022)](https://ionic.io/blog/ionic-outsystems-the-future-of-enterprise-app-development)
10. [Important Announcement: The Future of Ionic's Commercial Products, Ionic Blog (February 11, 2025)](https://ionic.io/blog/important-announcement-the-future-of-ionics-commercial-products)
11. [Drifty Grabs $2.6 Million To Turn Web Developers Into Mobile App Makers, TechCrunch (March 30, 2015)](https://techcrunch.com/2015/03/30/drifty-grabs-2-6-million-to-turn-web-developers-into-mobile-app-makers/)
12. [Introducing Ionic 4: Ionic for Everyone, Ionic Blog](https://ionic.io/blog/introducing-ionic-4-ionic-for-everyone)
13. [Comparison: Flutter 4 vs. React Native 0.80 vs. Ionic 8 for Cross-Platform Mobile App Performance, johal.in](https://www.johal.in/comparison-flutter-vs-react-native-080-vs-ionic)
14. [Pros and Cons of Ionic Mobile App Development, AltexSoft](https://www.altexsoft.com/blog/the-good-and-the-bad-of-ionic-mobile-development/)
15. [Why Choose Ionic App Framework for Hybrid App Development in 2026?, RipenApps](https://ripenapps.com/blog/why-choose-ionic-framework-for-hybrid-app-development/)
16. [Ionic vs. React Native: Performance Comparison, Ionic Blog](https://ionic.io/blog/ionic-vs-react-native-performance-comparison)
17. [An empirical investigation of performance overhead in cross-platform mobile development frameworks, Empirical Software Engineering (Springer)](https://link.springer.com/article/10.1007/s10664-020-09827-6)
18. [OutSystems Buys Ionic: What It Means, Forrester (November 8, 2022)](https://www.forrester.com/blogs/outsystems-buys-ionic-what-it-means/)
19. [Cross-Platform App Development Guides and Case Studies, Ionic Resources](https://ionic.io/resources/case-studies)
20. [Web View, Ionic Framework](https://ionicframework.jp/docs/v8/core-concepts/webview/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Development tools and collaboration infrastructure › Frameworks, libraries, and APIs › Mobile and platform frameworks

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/ionic-mobile-app-framework

English original: https://www.edgepedia.org/ionic-mobile-app-framework
