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