> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# onLoadSuccess

APISummary
Called when page load finish.

## Syntax

### Android

```java
public void onLoadSuccess();
```

### iOS

```objc
- (void)lynxView:(LynxView *)view didLoadFinishedWithUrl:(NSString *)url;
```

#### Parameters

- `view`: The LynxView instance.
- `url`: The page URL.

:::note

- This method is called once for each content loading request.

:::

### Harmony

```typescript
public onLoadSuccess(url: string): void;
```

#### Parameters

- `url`: The page url.

### Desktop (C++)

```cpp
class YourViewClient : public lynx::pub::LynxViewClient {
 public:
  void OnLoadSuccess() override;
};
```

## Compatibility

**Compatibility Table**

**Query:** `lynx-native-api.lynx-view-client.on-load-success`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-native-api/lynx-view-client/on-load-success.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| on-load-success | Yes (1.0) | Yes (3.4) | Yes (1.0) | Yes (3.7) | Yes (3.7) | No |

**`on-load-success`**

Called when page load finish.

**Specifications:**

