This commit is contained in:
2020-07-11 12:36:54 +08:00
parent f563839566
commit e84465cd64
26 changed files with 247 additions and 248 deletions

View File

@@ -593,20 +593,6 @@ function dump(obj)
return dumpObj(obj, 0)
end
function fitIphoneX()
local mode = SystemInfo.deviceModel
printw(mode)
if
string.find(mode, "iPhone10,3") or
string.find(mode, "iPhone10,6") or
string.find(mode, "iPhone11,3") or
string.find(mode, "iPhone11,6") or -- XS Max
string.find(mode, "iPhone11,8") or
string.find(mode, "iPhone12,1")
then -- xr
NGUITools.isFringe = true
end
end
--*******************************************************************
--*******************************************************************
local borrowedSpList = {}