# Webflow 中的 Apple 知名文件

如果您使用 Webflow 託管您的行銷網站，並且在 Apple App Store 中也有一個應用程序，那麼在驗證您的網域並將「眾所周知」文件添加到您的 Webflow 託管網站時，您可能會遇到挑戰。&#x20;

Apple 將此稱為支援關聯網域，它可以幫助您連接應用程式和網站以提供本機應用程式和瀏覽器體驗。&#x20;

關聯域在網域和應用程式之間建立安全連接，從而實現網站和應用程式之間共享憑證和增強功能。此功能為使用者提供更流暢的體驗，例如共用 Web 憑證、通用連結、Handoff 和 A​​pp Clip。

今天，我們推出了一項小功能，可協助您輕鬆將該檔案新增至您的 Webflow 網站。若要將關聯的網域檔案新增至您的網站，請建立一個名為 apple-app-site-association.txt 的檔案。&#x20;

<figure><img src="https://cdn.prod.website-files.com/64f9399ca7d13575ff21a675/6629636699c4af3903fda043_apple-well-known-webflow.webp" alt=""><figcaption><p>驗證您的網域並在您的 Webflow 網站和 Apple 應用程式之間建立安全連接</p></figcaption></figure>

若要將關聯的網域檔案新增至您的 Webflow 網站中，只需建立名為 apple-app-site-association.txt 的檔案並透過資產面板上傳即可。在他們的文件中，Apple 建議不要在文件上設定副檔名，但要將其新增至 Webflow，您需要確保新增 .txt 檔案副檔名，以便可以將檔案放置在眾所周知的目錄中。

[了解 Apple 建議在其文件中的](https://developer.apple.com/documentation/xcode/supporting-associated-domains)此文件中包含哪些內容。準備好文件後，將其上傳到設計器中的資源管理器。發佈網站後，Webflow 會執行一些魔法來確保文件可用以及 Apple 推薦的眾所周知的地址 (https\://<完全限定域名>/.well-known/apple-app-site-association)。

***

April 24, 2024


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tenten.co/docs-webflow/webflow-101/changelog/2024/webflow-zhong-de-apple-zhi-ming-wen-jian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
