首页/移动开发/expo-ui-swiftui
E

expo-ui-swiftui

by @expov
4.0(9)

为 Expo SDK 55 提供 iOS SwiftUI 原生组件集成指南,包含安装步骤和配置说明,需要重新构建原生代码

ios-developmentswiftuiexpoGitHub
安装方式
npx skills add https://github.com/expo/skills
compare_arrows

Before / After 效果对比

1 组
使用前

手动查找 iOS 原生组件文档、配置 Podfile、处理依赖冲突,集成一个组件需要 2-3 小时,容易出现版本不兼容问题

使用后

使用 Expo UI SwiftUI 统一安装命令,自动处理依赖和原生代码配置,15 分钟完成组件集成和原生构建

SKILL.md

expo-ui-swiftui

The instructions in this skill apply to SDK 55 only. For other SDK versions, refer to the Expo UI SwiftUI docs for that version for the most accurate information.

Installation

npx expo install @expo/ui

A native rebuild is required after installation (npx expo run:ios).

Instructions

import { Host, VStack, RNHostView } from "@expo-ui/swift-ui";
import { Pressable } from "react-native";

<Host matchContents>
  <VStack>
    <RNHostView matchContents>
      // Here, `Pressable` is an RN component so it is wrapped in `RNHostView`.
      <Pressable />
    </RNHostView>
  </VStack>
</Host>;

Weekly Installs–Repositoryexpo/skillsGitHub Stars1.7KFirst Seen–Security AuditsGen Agent Trust HubPassSocketPassSnykPass

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量3
评分4.0 / 5.0
版本
更新日期2026年9月16日
对比案例1 组

用户评分

4.0(9)
5
78%
4
22%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年4月15日
最后更新2026年9月16日
🎁 Agent 知识卡片
调研问卷