weex icon indicating copy to clipboard operation
weex copied to clipboard

我想让webview横屏,一点方向都没有,求指点

Open solaronke opened this issue 9 years ago • 4 comments

项目里要用webview打开h5页面的游戏,需要横屏,可是我不知道怎么入手,几天了还是一点进展都没有,之前提的issue也没回复,求指点。

solaronke avatar Mar 06 '17 03:03 solaronke

如果是通过 SDK集成的修改对应的 Activity,如果是weexpack那就。。。

CCC2016 avatar Mar 08 '17 09:03 CCC2016

安卓的话,在WXPageActivity的onCreate判断传入bundleUrl是否包含“game”,在这里设置该页面横屏。

zk0301 avatar Apr 18 '17 01:04 zk0301

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.

Feel free to ask question in new repository and thanks for your contribution.

YorkShen avatar Feb 18 '19 11:02 YorkShen

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.

Hanks10100 avatar May 16 '21 10:05 Hanks10100