Home  >  Article  >  Web Front-end  >  How to remove the native title bar in uniapp

How to remove the native title bar in uniapp

藏色散人
藏色散人Original
2021-01-18 14:19:474101browse

How to remove the native title bar in uniapp: First find and open the "pages.json" file; then cancel the app's native navigation by setting the code to ""titleNView":false".

How to remove the native title bar in uniapp

The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, Dell G3 computer.

Recommended (free): uni-app tutorial

uni-App removes the native title on the App side

If in the App If the native title is not removed on the end, it will be very uncomfortable to watch when sliding the page.

Take 2 pictures to see the effect

The page with the original title

Let’s take a look at the page without the original title

To achieve this effect is very simple, just make the following settings in pages.json

The above is the detailed content of How to remove the native title bar in uniapp. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn