> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/integrations/cn/proxy-integrations/ios.md). Agents can also search and read this documentation through its [MCP server](https://developers.oxylabs.io/~gitbook/mcp).

# iOS

在 iPhone 和 iPad 上配置 Oxylabs 代理。带有国家/地区选项的 iOS Wi‑Fi 代理设置分步指南。

**iOS** 是 Apple 为 iPhone 和 iPad 设备开发的移动操作系统。请按照本指南在 iOS 设备上设置以下 Oxylabs 代理：

* [**住宅和移动代理**](#residential-and-mobile-proxies)
* [**数据中心代理**](#datacenter-proxies)
* [**独享数据中心代理（自助版）**](#dedicated-datacenter-proxies-self-service)
* [**ISP代理**](#isp-proxies)
* [**独享ISP代理**](#dedicated-isp-proxies)

{% hint style="warning" %}
**注意**：iOS 仅允许使用一个 `HTTP` 代理在 Wi‑Fi 网络连接上使用。因此，您将无法设置 `HTTPS` 或 `SOCKS5` 代理，并通过蜂窝网络使用代理。
{% endhint %}

以下截图使用 iOS 16.1 拍摄。

### **步骤 1**

打开 iPhone **设置。**

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-fe1dcc66685b941113bec6ffdab3a8f00e3229b7%2Fios-1.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

### **步骤 2**

选择 **Wi-Fi**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-f819f227c3bec6c134a6f7fcc6b1600d45af59d0%2Fios-2.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

### **步骤 3**

点击当前连接的 Wi‑Fi 网络旁边的蓝色信息图标（连接状态会显示蓝色对勾。）

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-4a3833869ad6cd8a0fc42a0b3da4b07c5dd3a225%2Fios-3.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

### **步骤 4**

在这三个选项中，选择 **手动** 配置。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-d6105bbfd4b9fa385d1a6bd2ad4be3b73d68dee1%2Fios-4.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

### **步骤 5**

输入所选代理类型的详细信息和凭据：

* [住宅和移动代理](#residential-and-mobile-proxies)
* [数据中心代理](#datacenter-proxies)
* [独享数据中心代理（自助版）](#dedicated-datacenter-proxies-self-service)
* [ISP代理](#isp-proxies)
* [独享ISP代理](#dedicated-isp-proxies)

#### 住宅和移动代理

**服务器：** `pr.oxylabs.io`

**端口：** `7777`

**身份验证：** `开启`

**用户名：** `customer-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `customer-` 部分到你的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-e45cbb6d0df21cd3401023c2ffb35012bc43e479%2Fresi-ios.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
如有需要，您可以使用按国家/地区划分的入口。例如，如果您在 `us-pr.oxylabs.io` ，位于 **服务器** 字段中输入 `10000` 在 **端口** 字段下输入，您将获得一个位于美国的出口节点。若要查看国家/地区特定入口节点的完整列表，或需要会话保持，请查看我们的 [文档](https://developers.oxylabs.io/proxies/residential-proxies/location-settings/select-country#country-specific-entry-nodes).
{% endhint %}

#### 数据中心代理

**服务器：** `dc.oxylabs.io`

**端口：** `8000`

**身份验证：** `开启`

**用户名：** `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 部分到你的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-72349c688b8526b8a3f8520e765dcf165f797709%2Fdc-ios.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
端口 `8000` 将随机选取一个 IP 地址。对于其他设置，例如代理 IP 轮换，请访问 [此文档页面](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/ip-control.md).
{% endhint %}

#### 独享数据中心代理（自助版）

**服务器：** `ddc.oxylabs.io`

**端口：** `8001`

**身份验证：** `开启`

**用户名：** `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 部分到你的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-c11bbf6ff88519db342199a0264896e9dd7a1a74%2Fddc-ios.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
你需要选择一个分配给已购买的 IP 地址的端口，来自 [**代理列表**](https://developers.oxylabs.io/proxies/dedicated-datacenter-proxies/self-service/proxy-list)**,** ，您可以在 Oxylabs 仪表板中找到。如果您输入端口 `8000`，它会从您的列表中随机选择一个 IP 地址。
{% endhint %}

{% hint style="info" %}
如果您使用的是白名单 IP，请保持 **身份验证** 关闭。否则，请将 **身份验证** 开启，以便 **用户名** 和 **密码** 显示相应字段。在那里输入您的 Oxylabs 用户凭据——这与您在创建新子用户时输入的凭据相同，位于 [Oxylabs 仪表板中。](https://dashboard.oxylabs.io/en/)
{% endhint %}

#### ISP代理

**服务器：** `isp.oxylabs.io`

**端口：** `8001`

**身份验证：** `开启`

**用户名：** `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 部分到你的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-b03928662dd958b70e0ec572c52361a61b4f42b8%2Fios-isp.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
你需要选择分配给已购买的 IP 地址的端口， [**代理列表**](https://developers.oxylabs.io/products/cn/proxies/isp-proxies/proxy-list.md)**,** ，你可以在 Oxylabs 的仪表板中找到。该 `8001` 端口会为所有请求从你的列表中选取第一个 IP 地址。
{% endhint %}

{% hint style="info" %}
如果您使用的是白名单 IP，请保持 **身份验证** 关闭。否则，请将 **身份验证** 开启，以便 **用户名** 和 **密码** 显示相应字段。在那里输入您的 Oxylabs 用户凭据——这与您在创建新子用户时输入的凭据相同，位于 [Oxylabs 仪表板中。](https://dashboard.oxylabs.io/en/)
{% endhint %}

#### 独享ISP代理

**服务器：** `disp.oxylabs.io`

**端口：** `8001`

**身份验证：** `开启`

**用户名：** `user-USERNAME`

**密码：** `PASSWORD`

{% hint style="warning" %}
别忘了添加 `user-` 部分到你的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-d4f1e046d07d86e6e1ebc50eee17128e03407ba4%2Fios.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
你需要选择分配给已购买的 IP 地址的端口， [**代理列表**](https://developers.oxylabs.io/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md)**,** 您可以在 Oxylabs 控制面板上找到它。该 `8001` 端口会为所有请求从你的列表中选取第一个 IP 地址。

使用端口 `8000` 用于自动 [代理 IP 轮换](https://developers.oxylabs.io/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-rotation.md).
{% endhint %}

{% hint style="info" %}
如果您使用的是白名单 IP，请保持 **身份验证** 关闭。否则，请将 **身份验证** 开启，以便 **用户名** 和 **密码** 显示相应字段。在那里输入您的 Oxylabs 用户凭据——这与您在创建新子用户时输入的凭据相同，位于 [Oxylabs 仪表板中。](https://dashboard.oxylabs.io/en/)
{% endhint %}

### **步骤 6**

在右上角，点击 **保存**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-62f64994ff1466c10c37ab6bc36482f743393f75%2Fios-7.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

如果您想禁用代理，只需点击 **关闭** 然后 **保存** 再次。

就是这样！您现在已在 iOS 上使用 Oxylabs 代理。您可以在原始集成文章中找到 [Oxylabs 网站](https://oxylabs.io/resources/integrations/iphone).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/integrations/cn/proxy-integrations/ios.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
