ios
This commit is contained in:
@@ -20,7 +20,11 @@ function CLLPWebView.init(csObj)
|
||||
CLLPWebView.onCallOnStarted,
|
||||
CLLPWebView.onCallOnLoaded
|
||||
)
|
||||
webView:setMargins(0, NumEx.getIntPart(134 / MyUtl.getSizeAdjust()), 0, 0)
|
||||
local sizeAdjust = MyUtl.getSizeAdjust()
|
||||
local top = 134 / sizeAdjust
|
||||
local offsetRect = NGUITools.offsetRect
|
||||
top = top + offsetRect.y * Screen.height
|
||||
webView:setMargins(0, NumEx.getIntPart(top), 0, 0)
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
|
||||
Reference in New Issue
Block a user