> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-react-native-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-react-native-integration/other/reference/rnaatkit/functions/fittingbannersizesportrait.md).

# fittingBannerSizesPortrait

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Returns the array of [banner sizes](/aatkit-react-native-integration/other/reference/other/banner-sizes.md) that will fit on a given device in portrait screen orientation.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```javascript
fittingBannerSizesPortrait(callback)
```

callback **(REQUIRED)**

*Callback\<string>* Used to provide the function call result to JavaScript.

Parameters:

* **array** - Array of [banner sizes](/aatkit-react-native-integration/other/reference/other/banner-sizes.md) fitting current device.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```javascript
RNAatkit.fittingBannerSizesPortrait((sizes) => {
                console.log("fittingBannerSizesPortrait " + sizes);
            });
```
