Lua 代码优化:使用循环简化 WebView 长按事件处理
local uiManager = activity.getUiManager()
for i=0,3 do pcall(function() local webView = uiManager.getFragment(i).webView webView.onLongClick = function() return true end end) end
原文地址: https://www.cveoy.top/t/topic/mLRJ 著作权归作者所有。请勿转载和采集!