Revert "adjust screen scale for some ios devices"
#import <UIKit/UIKit.h>
#import "UIWidgetsDevice.h"
float IOSDeviceScaleFactor()
int IOSDeviceScaleFactor()
float scale = [[UIScreen mainScreen] scale] * 1.0;
if ([UIWidgetsDevice NeedScreenDownSample]) {
scale *= 0.8696;
}
return scale;
return [[UIScreen mainScreen] scale];
#if UNITY_IOS
[DllImport("__Internal")]
static extern float IOSDeviceScaleFactor();
static extern int IOSDeviceScaleFactor();
static extern viewMetrics IOSGetViewportPadding();