<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>应用集成 on LYon's Blog</title><link>https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/</link><description>Recent content in 应用集成 on LYon's Blog</description><generator>Hugo</generator><language>zh-cn</language><atom:link href="https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/index.xml" rel="self" type="application/rss+xml"/><item><title>App Groups</title><link>https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/App-Groups/</link><pubDate>Sun, 25 May 2025 00:00:00 +0000</pubDate><guid>https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/App-Groups/</guid><description>&lt;p>App Group 是苹果提供的一种跨应用数据共享机制，允许同一开发者账号下的多个应用或扩展（如 Widget、Broadcast Extension）通过共享容器实现数据互通。以下是其核心要点：&lt;/p></description></item><item><title>iOS 进程间通信方式</title><link>https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/iOS-%E8%BF%9B%E7%A8%8B%E9%97%B4%E9%80%9A%E4%BF%A1%E6%96%B9%E5%BC%8F/</link><pubDate>Sat, 24 May 2025 00:00:00 +0000</pubDate><guid>https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/iOS-%E8%BF%9B%E7%A8%8B%E9%97%B4%E9%80%9A%E4%BF%A1%E6%96%B9%E5%BC%8F/</guid><description>&lt;p>在 iOS 开发中，进程间通信（IPC）是实现应用间协作和数据共享的关键技术。以下是 iOS 支持的 ​&lt;strong>主要进程间通信机制&lt;/strong>​ 及其详细说明：&lt;/p>
&lt;hr>
&lt;h3 id="1-app-groups--userdefaultsfile-sharing">1. ​&lt;strong>App Groups + UserDefaults/File Sharing&lt;/strong>​&lt;a class="anchor" href="#1-app-groups--userdefaultsfile-sharing">#&lt;/a>&lt;/h3>
&lt;h4 id="概述">概述&lt;a class="anchor" href="#%e6%a6%82%e8%bf%b0">#&lt;/a>&lt;/h4>
&lt;ul>
&lt;li>​&lt;strong>核心思想&lt;/strong>​：通过共享容器（Shared Container）或 UserDefaults，在同一开发者账号下的多个应用或扩展（Widget、Watch App 等）之间共享数据。&lt;/li>
&lt;li>​&lt;strong>适用场景&lt;/strong>​：主应用与扩展（如 Today Widget）之间的数据同步。&lt;/li>
&lt;/ul>
&lt;h4 id="实现步骤">实现步骤&lt;a class="anchor" href="#%e5%ae%9e%e7%8e%b0%e6%ad%a5%e9%aa%a4">#&lt;/a>&lt;/h4>
&lt;ol>
&lt;li>
&lt;p>​&lt;strong>启用 App Groups&lt;/strong>​：&lt;/p></description></item><item><title>URL Scheme</title><link>https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/URL-Scheme/</link><pubDate>Sat, 24 May 2025 00:00:00 +0000</pubDate><guid>https://yindongliang.com/docs/Apple/%E5%BA%94%E7%94%A8%E9%9B%86%E6%88%90/URL-Scheme/</guid><description>&lt;p>在 iOS 开发中，​&lt;strong>URL Scheme&lt;/strong>​ 和 ​&lt;strong>UIOpenURLContext&lt;/strong>​ 是处理应用间通信和深度链接（Deep Linking）的核心技术。以下是它们的详细解释和对比：&lt;/p></description></item></channel></rss>