# Tips & Tricks

### Changing the iOS status bar color

If you'd like to change the top status bar color (where the iOS battery, clock, reception, etc. are displayed) for your fullscreen miniapp, you can do so via the following:

```
document.body.style.backgroundColor = "#YOUR_BACKGROUND_COLOR";
```

We currently implement this solution on several miniapps via the following example:

```
export const YourMiniappComposerComponent = ({ model, done }: 
  useEffect (() => {
    document.body.style.backgroundColor = "#YOUR_BACKGROUND_COLOR";

    return () => {
      document.body.style.backgroundColor = "#FFFFFF";
    }
  })
)
```

It's important to set the background color back to white on cleanup to ensure the status bar is restored to its original color.


---

# 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.getseam.xyz/miniapp-creation/tips-and-tricks.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.
