# IosPlatformOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-ios/platform/struct-iosplatformoptions/

**struct** · [`ferroui-ios`](/docs/0.5.0/api/ferroui-ios/) · v0.5.0

```rust
struct IosPlatformOptions
```

iOS backend options.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/iOS/FerroUI.iOS/platform.rs#L46)

## Members

- [`rendering_mode`](#struct_field-rendering_mode)
- [`enable_high_refresh_rate`](#struct_field-enable_high_refresh_rate)

<a id="struct_field-rendering_mode"></a>

### rendering_mode

```rust
rendering_mode: Vec<IosRenderingMode>
```

The rendering modes with fallbacks. The first element has the
highest priority. The default value is Metal, then OpenGL.

The platform fails to start when no value could be applied.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/iOS/FerroUI.iOS/platform.rs#L51)

<a id="struct_field-enable_high_refresh_rate"></a>

### enable_high_refresh_rate

```rust
enable_high_refresh_rate: bool
```

Gets or sets whether rendering follows the display refresh rate, up to 120 Hz on ProMotion
displays. The default value is true.

On iPhone, rates above 60 Hz also need CADisableMinimumFrameDurationOnPhone set to true in
the app's Info.plist. Set this to false to keep the system's default rate, for example if
the app can't sustain high frame rates.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/iOS/FerroUI.iOS/platform.rs#L59)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `AutoreleaseSafe`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Default`
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `aarch64-apple-ios`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
