> 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).

# 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 轮换等其他设置，请访问 [此文档页面](/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 地址的端口 [**代理列表**](/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 地址的端口 [**代理列表**](/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md)**,** ，您可以在 Oxylabs 仪表板上找到。 `8001` 该端口将为所有请求从您的列表中选择第一个 IP 地址。

使用端口 `8000` 可自动进行 [代理 IP 轮换](/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**

在右上角，点击 **“Save”**.

<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>

如果你想禁用代理，只需点击 **关** 然后 **“Save”** 再次。

就是这样！你现在已在 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
