All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
VuPlatformiOSConfig Struct Reference

Public Attributes

const void * interfaceOrientation
 The view orientation to initialize Engine with. The value is a pointer to a UIInterfaceOrientation instance.
 
const char * appGroup
 App group identifier.
 

Detailed Description

iOS-specific platform configuration data structure

Member Data Documentation

◆ interfaceOrientation

const void* interfaceOrientation

The view orientation to initialize Engine with. The value is a pointer to a UIInterfaceOrientation instance.

It is strongly recommended to provide this value during Engine creation, if it is not provided Engine will use a default value until vuPlatformControllerSetViewOrientation is called with the actual value.

See also
vuPlatformControllerSetViewOrientation
vuPlatformControllerConvertPlatformViewOrientation

◆ appGroup

const char* appGroup

App group identifier.

This is required for the app to be able to access the app group's shared storage location. Supplying a nullptr here (default) will disable this functionality. Any provided value must match the one in the .entitlements file of the app, and be a valid identifier as per https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc

Note
The provided string is copied, and can be freed, after the Engine instance has been created.