应用商店最佳实践

了解向应用商店提交应用时的最佳实践。


本指南提供了将你的应用提交到应用商店的最佳实践。如需了解如何生成用于提交的原生二进制文件,请参阅 创建你的第一个构建

🌐 This guide offers best practices for submitting your app to the app stores. To learn how to generate native binaries for submission, see Create your first build.

警告 免责声明: 审核指南和规则经常更新,且各种规则的执行有时可能不一致。无法保证你的特定项目会被任一平台接受,并且你最终需要对你的应用行为负责。也就是说,你可以根据审核反馈随时重新提交应用以进行修改。

对你的应用进行版本控制

了解如何为你的应用配置本地运行时版本。

应用商店存在

通过命令行管理你的 Apple App Store 元数据。

权限

通过使用应用配置优化原生权限和系统对话消息。

应用图标

应用商店对主屏幕图标有严格规定。

启动画面

使用启动画面 API 创建无缝加载体验。

应用商店资源

了解如何为应用的商店页面创建屏幕截图和预览。

本地化你的应用

为不同语言和地区准备你的应用版本。

苹果:审查指南

苹果官方指南:为你的应用准备 App Store 审核。

响应式设计

🌐 Responsive design

在小屏幕设备或模拟器(例如 iPhone SE)以及大屏幕设备(例如 iPhone X)上测试你的应用是一个好主意。确保你的组件按预期呈现,没有按钮被遮挡,并且所有文本字段都可以访问。

🌐 It's a good idea to test your app on a device or simulator with a small screen (for example, an iPhone SE) and a large screen (for example, an iPhone X). Ensure your components render the way you expect, no buttons are blocked, and all text fields are accessible.

除了在手机上测试你的应用外,也要在平板上测试。即使你配置了 ios.supportsTablet: false,你的应用在 iPad 上仍会以手机分辨率显示,并且必须可用。

🌐 Try your app on tablets in addition to handsets. Even if you have ios.supportsTablet: false configured, your app will still render at phone resolution on iPads and must be usable.

警告 如果元素在 iPad 上无法正确显示,即使你的应用不针对 iPad 设计,Apple 也可能会拒绝你的应用。请确保在 iPad(或 iPad 模拟器)上测试你的应用。

隐私政策

🌐 Privacy policy

从 2018 年 10 月 3 日开始,所有新的 iOS 应用和应用更新都需要制定隐私政策才能通过应用商店审核指南。

🌐 Starting October 3, 2018, all new iOS apps and app updates will be required to have a privacy policy to pass the App Store Review Guidelines.

应用隐私问题

🌐 App privacy questions

自2020年12月8日起,新应用提交和更新需要在 App Store Connect 中提供其隐私实践的信息。有关更多信息,请参阅App Store 上的应用隐私详情

🌐 Beginning December 8, 2020, new app submissions and updates are required to provide information about their privacy practices in App Store Connect. See App privacy details on the App Store for more information.

当你提交应用时,苹果会问你一系列问题。根据你使用的库,你的回答可能会有所不同。例如,如果你使用 expo-updates,你需要选择是的,我们从这个应用收集数据,然后你需要选择崩溃数据

🌐 Apple will ask you a series of questions when you submit the app. Depending on which libraries you use, your answers may vary. For example, if you use expo-updates, you will need to say Yes, we collect data from this app and then you will want to select Crash Data.