Exemple #1
0
        public static double AdjustSize(double size)
        {
            double newSize = size;

            if (UtilsiOS.IsiPhoneXR())
            {
                newSize = size / 1.1f;
            }
            else if (UtilsiOS.IsiPhoneX())
            {
                newSize = size / 1.5f;
            }
            else if (UtilsiOS.IsiPhonePlus())
            {
                newSize = size / 1.3f;
            }
            return(newSize);
        }