自定义导航栏的情况下,如何控制web-view?

小程序 文章 2020-08-13 22:41 657 0 全屏看文

AI助手支持GPT4.0

自定义导航栏的情况下,如何控制web-view?How to control web-view in the case of custom navigation bar?

自定义导航栏的情况下,如何控制web-view?

公司开发了一个小程序,需要自定义导航样式,这一块已经完成了,但是现在有一些页面需要通过web-view嵌入网页,操作过程中发现嵌入网页后,原生的导航显示出来了,查了一些官方文档,好像没有办法解决,改怎么处理这类问题呢?

The company has developed a small program that needs to customize the navigation style. This part has been completed, but now some pages need to be embedded into the web page through web view. After finding the embedded web page in the operation process, the native navigation is displayed. After looking up some official documents, it seems that there is no way to solve this problem. How to deal with this kind of problem?

回答:

Distance:

Candyland丶:

文档有写的,使用webview,会自动铺满屏幕,自定义头部是无效的

拾忆:

web-view页面没办法添加使用其它组件的

-EOF-

AI助手支持GPT4.0