Closed dadait closed 3 months ago
我c测试了下,没问题嘛
@bosscheng 抱歉,之前描述有误,iPhone 微信中没问题,只是在iPad微信中调用setFullscreen无响应。
已经找到并解决问题了,修改了下isMobile方法中的正则表达式,在其中加入了ipad
。
function isMobile() {
return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile|ipad/i.test(window.navigator.userAgent.toLowerCase());
}
@dadait 新版本已经修复了
webFullscreen在iOS版微信内失效,设置了useWebFullScreen:ture,但是在调用setFullscreen(true),无任何效果。
使用了官方的DEMO https://jessibuca.com/mobile-fullscreen.html测试,也是没有全屏效果。