原生导航底栏
在您的 iOS 应用中启用带有后退、前进和自定义按钮的原生底部导航栏。
在 Config.swift 中设置 var showNavFooter = true 以启用原生导航页脚栏。在 FooterBar.json 中配置按钮和链接。示例:
{
"colour":"dark",
"layout":[
{
"redirection_link":"https://webviewgoldtest.github.io/index.html",
"sf_symbol":"house",
"name": "Home"
},
{
"redirection_link":"https://webviewgoldtest.github.io/appControls.html",
"sf_symbol":"wrench.and.screwdriver",
"name": "Controls"
},
{
"redirection_link":"https://webviewgoldtest.github.io/NFCtesting.html",
"sf_symbol":"wifi.square",
"name": "NFC"
},
{
"redirection_link":"https://webviewgoldtest.github.io/IAPtesting.html",
"sf_symbol":"cart",
"name": "Purchases"
},
{
"redirection_link":"https://webviewgoldtest.github.io/permissions.html",
"sf_symbol":"lock.open",
"name": "Permissions"
}
]
}每个
sf_symbol 都使用一个 SF Symbol,并在主 WebView 中打开对应的 redirection_link。