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

# onFirstScreen

APISummary
Called when first screen layout completed.

## Syntax

### Android

```java
public void onFirstScreen();
```

### iOS

```objc
- (void)lynxViewDidFirstScreen:(LynxView *)view;
```

#### Parameters

- `view`: The LynxView instance.

:::note

- You can get performance during loading process of the LynxView at this time.

:::

### Harmony

```typescript
public onFirstScreen(): void;
```

### Desktop (C++)

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

## Compatibility

**Compatibility Table**

**Query:** `lynx-native-api.lynx-view-client.on-first-screen`

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

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

**`on-first-screen`**

Called when first screen layout completed.

**Specifications:**

