iOSPlatformOptions Class
Definition
iOS backend options.
public class iOSPlatformOptions
Constructors
| Name | Description |
|---|---|
| iOSPlatformOptions | No summary available. |
iOSPlatformOptions Constructor
public iOSPlatformOptions()
Properties
| Name | Description |
|---|---|
| EnableHighRefreshRate | Gets or sets whether rendering follows the display refresh rate, up to 120 Hz on ProMotion displays. The default value is true. |
| RenderingMode | Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: Avalonia.iOSRenderingMode.OpenGl. |
EnableHighRefreshRate Property
Gets or sets whether rendering follows the display refresh rate, up to 120 Hz on ProMotion displays. The default value is true.
public bool EnableHighRefreshRate { get; set; }
Remarks
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.
RenderingMode Property
Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: Avalonia.iOSRenderingMode.OpenGl.
public System.Collections.Generic.IReadOnlyList<Avalonia.iOSRenderingMode> RenderingMode { get; set; }