GetNativeScale
Overview
This is a helper method to put placement position correctly on iOS devices. Avoid using on Android platforms. Returns the native scale factor for the physical screen. See Apple documentation here.
Syntax
returns float – The native scale factor for the physical screen (iOS). Returns zero for Android.
Examples
Last updated