This commit is contained in:
2020-07-10 23:32:07 +08:00
parent e0530eb7f5
commit c1b81d6e13
2 changed files with 15 additions and 4 deletions

View File

@@ -592,6 +592,17 @@ function dump(obj)
end
return dumpObj(obj, 0)
end
function fitIphoneX()
local mode = SystemInfo.deviceModel
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")
then -- xr
NGUITools.isFringe = true
end
end
--*******************************************************************
--*******************************************************************
local borrowedSpList = {}