window.forbidPanGesture = (v) => {
try {
window.jsObj["forbidPanGesture"](v);
} catch (error) {
window.webkit.messageHandlers["forbidPanGesture"].postMessage(v);
}
}
if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
forbidPanGesture(1); //关闭
forbidPanGesture(0); //开启
}